Éric Araujo <mer...@netwok.org> added the comment: > I would call .copy() on the original dicts rather than remembering an > explicit empty dict.
I thought about that and decided to use an empty dict as a way to add a check that the caches should start empty. Maybe it was misguided and I should instead add a unit test for that, or not bother altogether. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com