Message347299
The following piece of code
import pickle
pickle.loads(pickle.dumps(1, protocol=pickle.HIGHEST_PROTOCOL), buffers=None)
fails with "TypeError: 'NoneType' object is not iterable"
The corresponding PEP (https://www.python.org/dev/peps/pep-0574/) specifies that buffer=None is the default but the C implementation does not check for Py_None.
The PR contains a test for this case that fails without the fix. |
|
Date |
User |
Action |
Args |
2019-07-05 03:33:15 | Markus Mohrhard | set | recipients:
+ Markus Mohrhard |
2019-07-05 03:33:14 | Markus Mohrhard | set | messageid: <1562297595.0.0.947701314803.issue37502@roundup.psfhosted.org> |
2019-07-05 03:33:14 | Markus Mohrhard | link | issue37502 messages |
2019-07-05 03:33:14 | Markus Mohrhard | create | |
|