[issue12006] strptime should implement %V or %u directive from libc

Alexander Belopolsky report at bugs.python.org
Thu May 26 02:16:42 CEST 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Wed, May 25, 2011 at 6:28 PM, Ashley Anderson <report at bugs.python.org> wrote:
>
> .. I agree that '_calc_julian_from_V' is a bit strange. I was mimicking a similar helper function's
> name ('_calc_julian_from_U_or_W'), but perhaps that is no defense.

This is a perfect defense.  Local consistency usually trumps global
conventions.  I only looked at the patch and did not see that other
function.  Please don't change the name.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12006>
_______________________________________


More information about the Python-bugs-list mailing list