[Python-ideas] Object for accessing identifiers/names
Random832
random832 at fastmail.com
Wed Jun 1 16:23:59 EDT 2016
More information about the Python-ideas mailing list
Wed Jun 1 16:23:59 EDT 2016
- Previous message (by thread): [Python-ideas] Object for accessing identifiers/names
- Next message (by thread): [Python-ideas] Object for accessing identifiers/names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 1, 2016, at 15:22, Koos Zevenhoven wrote: > name_object = identifier some_name ... > This is similar to things that can be done with closures. It sounds like for locals this could be implemented by adding your methods to the cell type (right now cell objects cannot be modified from python code), and having this statement return the cell. Any local variable that is used in this way gets a cell, the same as any local that is used in a closure does now.
- Previous message (by thread): [Python-ideas] Object for accessing identifiers/names
- Next message (by thread): [Python-ideas] Object for accessing identifiers/names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list