[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

Serhiy Storchaka report at bugs.python.org
Mon Jan 4 04:38:14 EST 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

For other types we do not have such strict tests. We just test that pickling roundtrips (it is already tested for zip() in other tests). There are few tests that unpickling some exact byte strings produces the expected value, but these tests are in pickletester.py, because they test the unpickling machinery. If unpickling of some type depends on some private constructor (like re._compile), that constructor can be tested separately.

So I think that these tests can be removed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40636>
_______________________________________


More information about the Python-bugs-list mailing list