Benjamin Peterson <benja...@python.org> added the comment: The documentation should be rewritten for clarity then. The reason you can't take weakrefs of those types is because they are implemented as "varsized" objects, so there is no constant place to add a weakref list in the memory layout of the objects.
---------- assignee: -> georg.brandl components: +Documentation -Interpreter Core nosy: +georg.brandl _______________________________________ 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