PythonCharmers/python-future

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

Open

#381 建立於 2018年9月25日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Python (327 fork)batch import
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.

貢獻者指南