> How about we just require that attrs passed be a dict and be done with
> it. Leave the creation of the dict the responsibility of the application
> developer.
I like it...
I've just been kinda watching lately, not having a strong opinion on these
matters, but after the last episode of 'underscores here, fancy dict
constructors here, mangled spellings there...'
I have to agree: It just isn't THAT hard to type {'class':'myStyleClass',
'id':'spanone', 'xml:lang':'english' }, and it neatly sidesteps all the
issues of handling reserved words, and all the inelegancies that handling
tends to bring up.
P.S. I just threw in that last 'xml:lang' ... I don't use it, and don't know
if it has any special restrictions about placement in a tag, or anything
like that.
Jason