[issue7128] cPickle looking for non-existent package copyreg

2009-11-24 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Thanks you! Committed in r76499 and backported to 2.6 in r76500. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue7128] cPickle looking for non-existent package copyreg

2009-11-23 Thread Georg Brandl
Georg Brandl added the comment: Patch looks ok to me, do you want to apply it? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7128] cPickle looking for non-existent package copyreg

2009-11-21 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Yes. But, I would remove the ugly copy_reg_str variable from cPickle as the patch. -- Added file: http://bugs.python.org/file15377/remove_copyreg_str.diff ___ Python tracker

[issue7128] cPickle looking for non-existent package copyreg

2009-11-21 Thread Georg Brandl
Georg Brandl added the comment: Now I'm confused. So the only thing left to do is the patch attached here? -- ___ Python tracker ___ _

[issue7128] cPickle looking for non-existent package copyreg

2009-11-20 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: But, that change was undone already, no? In fact, it is you, Georg, that reverted my mess in r63493. ;-) -- nosy: +alexandre.vassalotti ___ Python tracker ___

[issue7128] cPickle looking for non-existent package copyreg

2009-10-18 Thread Georg Brandl
Georg Brandl added the comment: Probably the whole of r63042 should be undone. -- nosy: +georg.brandl ___ Python tracker ___ ___ Pytho

[issue7128] cPickle looking for non-existent package copyreg

2009-10-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Here is a test+patch. This does not apply to py3k: restricted mode does not exist there. -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file15140/cpickle_restricted.patch ___ P

[issue7128] cPickle looking for non-existent package copyreg

2009-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +easy priority: -> high stage: -> needs patch versions: +Python 2.7 ___ Python tracker ___ _

[issue7128] cPickle looking for non-existent package copyreg

2009-10-14 Thread Joseph C Wang
New submission from Joseph C Wang : When running cPickle in restricted mode, the module tries to import copyreg which does not appear to exist anywhere. The problem is in cPickle.c 2980 if (PyEval_GetRestricted()) { 2981 /* Restricted execution, get private tables */ 2982