Daniel Stutzbach <dan...@stutzbachenterprises.com> added the comment:
I parsed the documentation this way: "Several built-in types such as list and dict do not directly support weak references" (true) "but [all of those that do not directly support weak references] can add support through subclassing" I would expect there to be exactly two groups of items: - types that support weak references directly - types where it can be added through subclassing Is there some technical reason why int, tuple, and others cannot support it through subclassing? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7170> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com