Raymond Hettinger added the comment: I looked at the patch again and it is in pretty good shape.
Please hoist the conditionals out of the loop (for intelligibility and to let the compiler in-line more effectively). Also, let's remove the "dump" and "clear" variable names in favor of comments that explain the conditionals (to introducing new terminology to the module). If you want, I'll take a crack at it in the next couple of days. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23290> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com