[issue22777] Test pickling with all protocols

Serhiy Storchaka report at bugs.python.org
Sat Nov 1 09:23:42 CET 2014


Serhiy Storchaka added the comment:

Fixed two bugs found by Antoine. Thank you Antoine.

Berker suggest to use the subTest() context manager inside loops. I thought about this, but this will increase blocks indentations on yet 4 spaces, and some code already is too indented. On other hand this truly helps when tests fail.

Large part of the patch is related to the code maintained by Raymond (collections and itertools modules, builtin collections and iterators), so it would be good if Raymond will look on it.

----------
Added file: http://bugs.python.org/file37095/tests_pickling_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22777>
_______________________________________


More information about the Python-bugs-list mailing list