[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ideas
Subject:    [Python-ideas] Re: [Python-Dev] Adding pep-8-casing-compliant aliases for unittest and logging
From:       Christopher Barker <pythonchb () gmail ! com>
Date:       2021-11-12 5:35:51
Message-ID: CALn7ch982jsP39s1neDQ4LGukz6F7G2qC9OKLG9EFsRF+3=KzA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> > So perhaps we could narrow the scope of this down to just adding
> snake_case aliases to the logging and
> > unittest modules [...]


The reason those are spelled that way is because they are ported from Java.

And IMHO that "Java flavor" is a bigger issue than just the names. It's the
whole structure. So if we're going to touch those, let's make a Pythonic
API, with PEP 8 compliant names, instead :-)

-CHB


-- 
Christopher Barker, PhD (Chris)

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

[Attachment #5 (text/html)]

<div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" \
dir="auto"> &gt; So perhaps we could narrow the scope of this down to just adding \
snake_case aliases to the logging and<br> &gt; unittest modules \
[...]</blockquote><div dir="auto"><br></div><div dir="auto">The reason those are \
spelled that way is because they are ported from Java.</div><div \
dir="auto"><br></div><div dir="auto">And IMHO that "Java flavor" is a bigger issue \
than just the names. It's the whole structure. So if we're going to touch those, \
let's make a Pythonic API, with PEP 8 compliant names, instead :-)</div><div \
dir="auto"><br></div><div dir="auto">-CHB</div><div dir="auto"><br></div><div \
dir="auto">  </div></div></div>-- <br><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr">Christopher Barker, PhD \
(Chris)<br><br> Python Language Consulting<br>   - Teaching<br>   - Scientific \
Software Development<br>   - Desktop GUI and Web Development<br>   - wxPython, numpy, \
scipy, Cython<br></div></div>



_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/EUUCMWTMTAK2AWWDHYRNBBHEDOQIP63Q/
 Code of Conduct: http://python.org/psf/codeofconduct/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic