Andrew Barnert via Python-ideas writes:

 > > Also -1 on the flag.

Also -1 on the flag, for the same set of reasons.

I have to dissent somewhat from one of the complaints, though:

 > auto-complete won’t help at all,

Many (most?) people use IDEs that will catch up more or less quickly,
though.  Such catchup could be automated to some extent by using an
Enum, although folks who would use the flag might prefer the string
API.  You could handle both, but that would add even more complexity
to the function's initialization.

I think that the issue of searchability and signature are pretty
compelling reasons for such a simple feature to be part of the
function name.

Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/YJ3PBENBNHXPQIEJVRTTXGQHHTSDY67B/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to