Changes between Version 13 and Version 14 of Python3
- Timestamp:
- 2020-08-05T15:49:18Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python3
v13 v14 61 61 from future.utils import PY2 62 62 if PY2: 63 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, int,list, object, range, str, max, min # noqa: F40163 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401 64 64 }}} 65 65 … … 97 97 == Don't leak Future objects == 98 98 99 Leaking Future objects (newints, new dicts, new bytes) in module API can break existing code on Python 2. So need to be careful not to do that. For that reason int isn't in the suggested list above.99 Leaking Future objects (newints, new dicts, new bytes) in module API can break existing code on Python 2. So need to be careful not to do that. For that reason int isn't in the suggested `from builtins import ...` list above. 100 100 101 101 == Other notes ==