Raymond Hettinger added the comment: Rather than removing the defaultdict, I think a cleaner fix is to just remove the unnecessary LBYL. That leaves the code a little more compact, faster, and nice looking.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29957> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com