Georg Brandl <ge...@python.org> added the comment: 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') ---------- nosy: +georg.brandl resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5382> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com