Serhiy Storchaka added the comment: Agree. The latter simplification can be applied to pickle.py. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11572> _______________________________________