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

> On Thu, 2 May 2013 13:52:29 -0700
> Eli Bendersky <eli...@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.


Eli
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to