Message189167
I'd like to propose one slight tweak to the patch. (Also to enum.py.)
If no module name was passed and _getframe() fails, can you set the __module__ attribute to something that will cause pickling the object to fail? That would be much better than letting it pickle but then being unable to unpickle it.
(TBH I'm not sure how this should be accomplished, and if it can't, forget that I said it. But it would be nice.) |
|
Date |
User |
Action |
Args |
2013-05-13 19:03:14 | gvanrossum | set | recipients:
+ gvanrossum, barry, rhettinger, ncoghlan, eric.smith, eli.bendersky, sbt |
2013-05-13 19:03:13 | gvanrossum | set | messageid: <1368471793.97.0.603295844297.issue17941@psf.upfronthosting.co.za> |
2013-05-13 19:03:13 | gvanrossum | link | issue17941 messages |
2013-05-13 19:03:13 | gvanrossum | create | |
|