PythonCharmers/python-future

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

Open

#381 geöffnet am 25. Sept. 2018

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Python (327 Forks)batch import
0.20help wanted

Repository-Metriken

Stars
 (1.172 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide