[Python-ideas] PEP 3155 - Qualified name for classes and functions

Antoine Pitrou solipsis at pitrou.net
Sun Oct 30 12:04:03 CET 2011


On Sun, 30 Oct 2011 00:13:02 -0600
Eric Snow <ericsnowcurrently at gmail.com>
wrote:
> 
> If it helps, I have a patch that adds f_func to frame objects [1].  It
> points to the function that was called, so __qname__ could reference that
> function.

Perhaps, although my current implementation uses a bit of code in the
compiler to precompute (most of) the __qname__ attribute.

Regards

Antoine.





More information about the Python-ideas mailing list