[issue13479] pickle too picky on re-defined classes

Guido van Rossum report at bugs.python.org
Sun Dec 11 21:18:30 CET 2011


Guido van Rossum <guido at python.org> added the comment:

What you're seeing here is just one of may things that go subtly wrong when you reload a class.  I don't think we should fix this one aspect while leaving so many other bugs due to the same root cause.

It would be better to focus your energy on a way to improve reloading, e.g. make it so that the identity of global functions and classes doesn't change when their module is reloaded.  (You'll find it a tough problem, but note that it's been solved for at least one specific instance: modules *do* retain their identity, so maybe you can use that as a model.)

----------
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13479>
_______________________________________


More information about the Python-bugs-list mailing list