[Python-ideas] strptime without second argument as an inverse to __str__
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Aug 7 19:27:06 CEST 2014
On Thu, Aug 7, 2014 at 4:17 AM, Wolfgang Maier <
wolfgang.maier at biologie.uni-freiburg.de> wrote:
>
>> Since parsing will be done in C, it's cost can be made negligible. In
>> implementations other than CPython, YMMV.
>>
>>
> Why would parsing occur in C ? The datetime module is implemented in pure
> Python.
No. In CPython, datetime module is implemented in C.
http://hg.python.org/cpython/file/default/Modules/_datetimemodule.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140807/26495fb9/attachment.html>
More information about the Python-ideas
mailing list