Changes between Version 12 and Version 13 of Python3
- Timestamp:
- 2020-08-05T15:48:47Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python3
v12 v13 95 95 2. The behavior with `b"%s" % some_bytes_object` works fine if both objects are Future `builtins.bytes`, or both objects are native Python 2 strings/bytes, but not if you combine them. This has caused bugs. One way to fix this is by exposing only native byte strings for now, see e.g. `allmydata.util.base32`. 96 96 97 == Don't leak Future objects == 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. 100 97 101 == Other notes == 98 102