[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs
Guido van Rossum
report at bugs.python.org
Sat Jan 2 17:45:50 EST 2021
Guido van Rossum <guido at python.org> added the comment:
That's fair. How do other builtins validate their pickling implementation?
Since the pickling goes through __reduce__/__reduce_ex__ we could instead test that those methods return the expected results, that pickling roundtrips, and that unpickling those exact byte strings produces the expected value?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40636>
_______________________________________
More information about the Python-bugs-list
mailing list