[Python-ideas] relaxing keyword usage restrictions
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 7 02:56:04 CEST 2011
Nick Coghlan wrote:
> You could answer "but the feature is for programmatically generated
> attributes, such as CSV column names,
I'd argue that it's for interfacing with libraries written
in a different language.
Your point about consistency still stands, but consistency
doesn't necessarily trump all other considerations. Having
to translate the API of a wrapped library by prepending
underscores, or whatever convention is chosen, carries a
mental burden as well. Not only do you have to remember to
do it, you have to remember what convention the author of
the wrapper used.
--
Greg
More information about the Python-ideas
mailing list