PythonCharmers/python-future
Ver no GitHubimprove handling of unicode and str in python2 code when using futurize
Open
#381 aberto em 25 de set. de 2018
0.20help wanted
Métricas do repositório
- Stars
- (1.172 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
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.