Author gvanrossum
Recipients barry, eli.bendersky, eric.smith, gvanrossum, ncoghlan, rhettinger, sbt
Date 2013-05-13.19:03:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368471793.97.0.603295844297.issue17941@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2013-05-13 19:03:14gvanrossumsetrecipients: + gvanrossum, barry, rhettinger, ncoghlan, eric.smith, eli.bendersky, sbt
2013-05-13 19:03:13gvanrossumsetmessageid: <1368471793.97.0.603295844297.issue17941@psf.upfronthosting.co.za>
2013-05-13 19:03:13gvanrossumlinkissue17941 messages
2013-05-13 19:03:13gvanrossumcreate