Antoine Pitrou <pit...@free.fr> added the comment: My patch breaks pickling of transparent proxies such as weakref.proxy(). (since these have a different __class__ than Py_TYPE(self), through tp_getattr hackery). I will need to remove a couple of optimizations.
(unfortunately, there don't seem to be any tests for such case; my initial patch breaks neither test_pickle nor test_pickletools) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9935> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com