[docs] [issue20836] Pickle Nonetype

R. David Murray report at bugs.python.org
Mon Mar 3 00:03:09 CET 2014

R. David Murray added the comment:

Before python 3.4, __del__ methods are problematic.  During interpreter shutdown various module attributes get set to None, which is probably what is triggering the error. 

It is unlikely there is a Python bug here: it is a known and documented issue that module attributes can disappear (get set to None) before __del__ methods are run, if objects are not GCed before interpreter shutdown starts.  (Pre 3.4.  In 3.4 this situation is much improved.)

nosy: +r.david.murray

Python tracker <report at bugs.python.org>

More information about the docs mailing list