[issue5509] cPickle - module object has no attribute

Benjamin Peterson report at bugs.python.org
Wed Mar 18 20:08:32 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

Implementing this may be difficult (the module may not be on the search
path when its run and there's no way to determine that). Also, it would
break compatibility. Anyway, it's usually better to define classes that
will be pickled in their own permanent module.

----------
nosy: +benjamin.peterson
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list