This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients Imagist, LambertDW, georg.brandl, mrabarnett
Date 2009-02-27.17:27:23
SpamBayes Score 4.8569293e-10
Marked as misclassified No
Message-id <1235755647.49.0.451038979161.issue5382@psf.upfronthosting.co.za>
In-reply-to
Content
This is not going to happen:

First, function call syntax is nicely parallel to parameter definition
syntax, and it is obviously not possible to define parameters named like
keywords.

Second, making exceptions like this leads to more exceptions and finally
inconsistencies. People will say "if it's allowed here, why not there
too, where it is grammatically unambiguous". Quoting the Zen: Special
cases aren't special enough to break the rules.


PS: In addition to what David Lambert and Matthew said, you could also
lower() all attributes on generation and use

xhtmlNode('div', Class='sidebar')
History
Date User Action Args
2009-02-27 17:27:27georg.brandlsetrecipients: + georg.brandl, LambertDW, mrabarnett, Imagist
2009-02-27 17:27:27georg.brandlsetmessageid: <1235755647.49.0.451038979161.issue5382@psf.upfronthosting.co.za>
2009-02-27 17:27:24georg.brandllinkissue5382 messages
2009-02-27 17:27:24georg.brandlcreate