L'analyse Unicode est déjà activée par défaut dans Python 3 pour les motifs Unicode (str), et elle est capable de gérer plusieurs locales et langages.
Unicode matching is already enabled by default in Python 3 for Unicode (str) patterns, and it is able to handle different locales/languages.
Le type unicode de Python 2 a été renommé str dans Python 3, str() a été renommé bytes et basestring a disparu.
Python 2's unicode type was renamed str in Python 3, str() was renamed bytes, and basestring disappeared.
Leurs noms contenait le mot str, qui n'a pas la même signification dans Python 2 et dans Python 3, et unicode, qui n'existe plus dans Python 3.
Their names used the words str, which doesn't mean the same thing in Python 2 and Python 3, and unicode, which doesn't exist in Python 3.
Le préfixe u de Python 2 est une erreur de syntaxe dans Python 3.2, mais il est de nouveau autorisé dans Python 3 suite à la PEP 414.
Python 2's u prefix is a syntax error in Python 3.2 but it will be allowed again in Python 3.3 thanks to PEP 414.
Le type unicode de Python 2 a été renommé str dans Python 3, str() a été renommé bytes et basestring a disparu.
Thus, this transformation is optional if you target str() was renamed bytes, and basestring disappeared.
Other results
L'installateur Anaconda a été entièrement porté à Python 3 dans Fedora 23.
The Anaconda installer has been completely ported to Python 3 in Fedora 23.
Convertir tous les fichier Python2 vers Python 3 dans un dossier
Convert all Python 2 files in a directory to Python 3
Donc le fonctionnement de ces paquets avec Python 3 dans F13 a été testé ?
So these packages in F13 have been tested to work with Python 3?
Regardez le discours de Roy Williams dans lequel il explique pourquoi Lyft utilise Python 3 dans sa stack technique
Watch Roy Williams' talk on how and why Lyft uses Python 3 in their tech stack.
Une approche naïve pour continuer de faire fonctionner les deux versions serait d'essayer d'utiliser d'abord les bibliothèques de Python 3 dans une déclaration Cependant, il existe une meilleure approche pour échapper au laborieux système du try/catch.
Consider Compatibility Layers A naive approach for keeping both versions working would be to try to use first libraries from Python 3 in a try/catch statement.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.