PythonCharmers/python-future
在 GitHub 查看improve handling of unicode and str in python2 code when using futurize
Open
#381 建立於 2018年9月25日
0.20help wanted
倉庫指標
- Star
- (1,172 star)
- PR 合併指標
- (30 天內沒有已合併 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.