PythonCharmers/python-future

improve handling of unicode and str in python2 code when using futurize

Open

#381 ouverte le 25 sept. 2018

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Python (327 forks)batch import
0.20help wanted

Métriques du dépôt

Stars
 (1 172 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

If python2 code uses unicode and str (to represent bytes).

When using futurize we add from builtins import str which breaks the behavior of the old str usage.

It would be nice to make it harder to mix up the two types when using futurize.

Guide contributeur