]> granicus.if.org Git - python/commit
Don't call constructor() from pickle().
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 26 Jun 2003 23:20:20 +0000 (23:20 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 26 Jun 2003 23:20:20 +0000 (23:20 +0000)
commit7567822838b915d3464fd87c54fdd574d67e7aa9
tree3fa9fadaecd37962724042c44bd21c046ae36923
parentd0cda1dc9fc4c7aa06c4f330d576782ac03b3728
Don't call constructor() from pickle().

The constructor() call only made sense when it registered the
constructor as safe for unpickling.  We should probably remove the
module-global function, but need to worry about backwards
compatibility.
Lib/copy_reg.py