Antoine Pitrou added the comment: > What does inheriting from 'ref' buy you?
Hmm, I'm not sure. I thought I'd mimick KeyedRef's inheritance design, plus isinstance(..., weakref.ref) works, and composition would make the object slightly bigger. Other than that, probably nothing. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com