Antoine Pitrou <pit...@free.fr> added the comment: IMO, any of these three solutions should be accepted. The second is of course the nicest but also the most complex one, and it's probably not worth it. I'm not sure the third solution is easily feasible given that dicts currently don't accept weakref'ing. We could of course create a special subclass of dict, but, again, is it worth it? This leaves us with the first solution which is, IMO, good enough, and obviously the simplest of all three. You're welcome to propose a patch!
---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6116> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com