On 2019-12-06 3:58 p.m., Christopher Barker wrote:
I notice that most(all?) of those are from pretty old modules, which explains the "old", pre PEP-8 names.

I think it would be good to clean this up with a set of aliases -- but it is a fair bit of code-churn for not much real gain. I guess it comes down to:

- How much maintenance do those modules see anyway? Are they changing much, if at all between recent versions?

- How often to "end users" use them -- as opposed to using high level packages on top of them? What I'm getting at here is that it's a lot more important that a newbie or casual scripter gets consistent names than for package maintainers.

I almost had my latest lib use lowercase "error" because I was basing it off of re module public API.


-CHB



On Thu, Dec 5, 2019 at 1:32 PM Matthias Bussonnier <bussonniermatth...@gmail.com <mailto:bussonniermatth...@gmail.com>> wrote:

    Thanks for pointing those out.

    At least when the alias is `error = OtherName`  the text is the
    stack trace are informative.
-- M
    _______________________________________________
    Python-ideas mailing list -- python-ideas@python.org
    <mailto:python-ideas@python.org>
    To unsubscribe send an email to python-ideas-le...@python.org
    <mailto: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/JSHM7FGTJA7CSCUVZFLKYYFMS3DU7NKB/
    Code of Conduct: http://python.org/psf/codeofconduct/



--
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython

_______________________________________________
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/USDR4AFSJYDPE4GK5MUZQ6JBJ3U2X3KA/
Code of Conduct: http://python.org/psf/codeofconduct/

_______________________________________________
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/E2KI3I772QGUNU5FS5OQ2HDKB76DOCNK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to