[issue10073] calendar.isleap() not checking parameter type
Boštjan Mejak
report at bugs.python.org
Tue Oct 19 18:34:40 CEST 2010
Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:
I have read the Zen of PYthon before. I have also written a typo report. But
got rejected. No one listens to my ideas. So why do you have a bug tracker
anyway?
On Tue, Oct 19, 2010 at 6:46 AM, Ãric Araujo <report at bugs.python.org> wrote:
>
> Ãric Araujo <merwok at netwok.org> added the comment:
>
> > for example, the isleap() function which should be defined as is_leap()
> Who says that? Not PEP 8: âFunction names should be lowercase, with words
> separated by underscores *as necessary to improve readability*â (emphasis
> mine). isleap is perfectly readable.
>
> > But now it's all too late for that fixes.
> Youâll find that Python has a balance between readability/ease of use and
> pragmatism. In some cases, changes canât be made, but itâs best to accept
> it and move on to the next issue. Working on feature requests instead of
> style issues is great.
>
> On a closing note, Iâll let you enjoy the Zen of Python:
> $ python -m this
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue10073>
> _______________________________________
>
----------
Added file: http://bugs.python.org/file19283/unnamed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10073>
_______________________________________
-------------- next part --------------
I have read the Zen of PYthon before. I have also written a typo report. But got rejected. No one listens to my ideas. So why do you have a bug tracker anyway?<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 6:46 AM, Ãric Araujo <span dir="ltr"><<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Ãric Araujo <<a href="mailto:merwok at netwok.org">merwok at netwok.org</a>> added the comment:<br>
<div class="im"><br>
> for example, the isleap() function which should be defined as is_leap()<br>
</div>Who says that? Â Not PEPÂ 8: âFunction names should be lowercase, with words separated by underscores *as necessary to improve readability*â (emphasis mine). Â isleap is perfectly readable.<br>
<div class="im"><br>
> But now it's all too late for that fixes.<br>
</div>Youâll find that Python has a balance between readability/ease of use and pragmatism. Â In some cases, changes canât be made, but itâs best to accept it and move on to the next issue. Â Working on feature requests instead of style issues is great.<br>
<br>
On a closing note, Iâll let you enjoy the Zen of Python:<br>
$ python -m this<br>
<div><div></div><div class="h5"><br>
----------<br>
<br>
_______________________________________<br>
Python tracker <<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue10073" target="_blank">http://bugs.python.org/issue10073</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br>
More information about the Python-bugs-list
mailing list