[Python-Dev] Early PEP draft (For Python 3000?) (original) (raw)
Jim Jewett jimjjewett at gmail.com
Wed Oct 19 15:23:35 CEST 2005
- Previous message: [Python-Dev] Migrating to subversion
- Next message: [Python-Dev] Early PEP draft (For Python 3000?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(In http://mail.python.org/pipermail/python-dev/2005-October/057251.html) Eyal Lotem wrote:
Name: Attribute access for all namespaces ...
global x ; x = 1 Replaced by: module.x = 1
Attribute access as an option would be nice, but might be slower.
Also note that one common use for a dict is that you don't know what keys are available; meeting this use case with attribute access would require some extra machinery, such as an iterator over attributes.
-jJ
- Previous message: [Python-Dev] Migrating to subversion
- Next message: [Python-Dev] Early PEP draft (For Python 3000?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]