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.

贡献者指南