[Python-Dev] PyPy, Jython, & IronPython: Enum convenience function and pickleablity

Eli Bendersky eliben at gmail.com
Thu May 2 23:15:40 CEST 2013

On Thu, May 2, 2013 at 2:10 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Thu, 2 May 2013 13:52:29 -0700
> Eli Bendersky <eliben at gmail.com> wrote:
> >
> > Back to my question from before, though - do we have a real technical
> > limitation of having something like inspect.what_module_am_i_now_in()
> > that's supposed to work for all Python code?
> I already gave an answer (e.g. the debugger case), but you are free to
> consider it not reasonable :)

Sorry, but I do find the argument "let's not have a convenience syntax
because enums created with such syntax won't pickle properly from within a
debugger" not convincing enough :-) It may be just me though, and I'm open
to other opinions.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130502/7f367b86/attachment.html>

More information about the Python-Dev mailing list