Se elas não funcionam, considere contribuir para os esforços de portabilidade, ou fique com o Python 2.
If they don't, consider contributing to the porting efforts, or stick to Python 2.
Este documento visa principalmente os autores de aplicações plugáveis que desejem dar suporte ao Python 2 e 3.
This document is primarily targeted at authors of pluggable applications who want to support both Python 2 and 3.
O mesmo se aplica para Python 2, exceto que o prefixo (se necessário) é python2-.
The same applies to Python 2 only that the prefix (if needed) is python2-.
No Python 2, você precisava apenas digitar "print" e então o que você desejava mostrar.
In Python 2, you only needed to type "print" followed by what you wanted displayed.
A pesquisa não investigou por que os desenvolvedores usam o Python 2, se pelo peso do legado do código, se pelos requisitos institucionais ou se simplesmente pela preferência do desenvolvedor.
The survey didn't probe into why developers stick with Python 2, whether it's the weight of legacy code, institutional requirements, or simply developer preference.
Lidar com o Python 2 se tornou um requerimento de compatibilidade com versões anteriores, e nós desenvolvedores estamos acostumados a lidar com esse tipo de limitação.
Dealing with Python 2 becomes a backwards compatibility requirement, and we as developers are used to dealing with such constraints.
Se você tiver problemas instalando as dependências, você pode pular esse passo, exceto no Python 2, onde você deve executar pip install mock.
If you have trouble installing the requirements, you can skip that step, except on Python 2, where you must pip install mock.
Claro, se você não precisar se manter compatível com o Python 2, você está livre para escolher outra estratégia para o seu código.
Of course, you're free to chose another strategy for your own code, especially if you don't need to stay compatible with Python 2.
Você pode também importar six.moves.xrange (ele é equivalente ao six.moves.range) mas a primeira técnica permite que você simplesmente remova o import ao deixar de suportar o Python 2.
You can also import six.moves.xrange (it's equivalent to six.moves.range) but the first technique allows you to simply drop the import when dropping support for Python 2.
Se você usa xrange no Python 2, faça o import do six.moves.range e use ele no lugar.
xrange If you use xrange on Python 2, import six.moves.range and use that instead.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.