object as a reserved keyword
Mel Wilson
mwilson at the-wire.com
Sun Jul 20 13:07:50 EDT 2003
More information about the Python-list mailing list
Sun Jul 20 13:07:50 EDT 2003
- Previous message (by thread): object as a reserved keyword
- Next message (by thread): object as a reserved keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <bfe673$9mq$1 at panix2.panix.com>, aahz at pythoncraft.com (Aahz) wrote: >In article <vtnkhvoqcet2bgmeidae1st46m7q9sr1p3 at 4ax.com>, >Lawrence Oluyede <raims at dot.com> wrote: >> >>Does it worth to make "object" keyword a reserved one? > >Maybe. Python strives for a minimal syntax. Many identifiers that >would be keywords in other languages are simply names in the builtin >namespace. Plus it's not impossible that somebody could export a name in the set of standard names from a module or a class and accomplish something useful. I'm having trouble finding a convincing example, but consider class Debate: ... def agree (self, *args): pass # or some real code def object (self, *args): pass # usw. Regards. Mel.
- Previous message (by thread): object as a reserved keyword
- Next message (by thread): object as a reserved keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list