Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
Committed in revision 87942. @Georg: Yes, I ran coverage and all branches are covered. @Meador: I don't think the old len calculation could handle the case of array object in initial. In any case, I don't find the new code much more complicated than the old one. To the contrary, a chain of simple if-else looks cleaner than the original 2-line boolean expression. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5109> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com