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 (1,172 star) (327 fork)batch import
0.20help wanted

描述

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.

贡献者指南

improve handling of unicode and str in python2 code when using futurize · PythonCharmers/python-future#381 | Good First Issue