[Python-ideas] Syntax for easy binding __name__, __module__, __qualname__ to arbitrary objects

Barry Warsaw barry at python.org
Tue May 14 22:45:55 CEST 2013


On May 14, 2013, at 01:49 PM, Nick Coghlan wrote:

>What Piotr's proposal crystalised for me is the idea that we really
>have two different kinds of name binding in Python. I'm going to call
>them "incidental binding" and "definitive binding".

Perhaps "definitional" is another way to describe the latter.  class
statements and def statements both define a new object and bound that new
object to a name.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130514/c1016f99/attachment.pgp>


More information about the Python-ideas mailing list