PythonCharmers/python-future

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

Open

#381 opened on 2018年9月25日

GitHub で見る
 (1 comment) (1 reaction) (0 assignees)Python (327 forks)batch import
0.20help wanted

Repository metrics

Stars
 (1,172 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド