[Python-Dev] Set the namespace free! (original) (raw)
Simon Brunning simon at brunningonline.net
Thu Jul 22 14:45:49 CEST 2010
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22 July 2010 15:04, Bartosz Tarnowski <bartosz-tarnowski at zlotniki.pl> wrote:
What should I do then, when the attribute is a reserver word?
You would use elem.getattr('param'). That's what it's for.
Let all reserved words be preceded with some symbol, i.e. "!" (exclamation mark).
Oh, God, no.
This would be better off on the Python Ideas list. Well, it would be better of stone dead IMHO, but better ideas than here.
-- Cheers, Simon B.
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]