Raymond Hettinger added the comment: Added a patch to neaten it up a bit by naming the exit conditions and avoiding the unnecessary extra incref/decref pair around the resize call.
---------- Added file: http://bugs.python.org/file39956/set_named_exits.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24583> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com