[Python-Dev] Set the namespace free!

Simon Brunning simon at brunningonline.net
Thu Jul 22 14:45:49 CEST 2010


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.


More information about the Python-Dev mailing list