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

Antoine Pitrou solipsis at pitrou.net
Thu May 2 23:10:28 CEST 2013


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 :) In any case, I just find the argument for
a function-based syntax non-existent compared to a similarly compact
class-based syntax.

Regards

Antoine.


More information about the Python-Dev mailing list