[issue19562] Added description for assert statement

Alexander Belopolsky report at bugs.python.org
Fri Dec 13 18:30:26 CET 2013


Alexander Belopolsky added the comment:

@terry - datetime.py was originally written as a prototype for the C code and many seemingly unpythonic constructs therein are motivated by the desire to ease the translation to C.

I would not mind simplifying _DI4Y calculation as you suggest, but please check how it is done in C.  I would like to keep the two implementation as similar as possible.

Please open a separate issue if you would like to have this done.

----------

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


More information about the Python-bugs-list mailing list