[issue7989] Transition time/datetime C modules to Python
Marc-Andre Lemburg
report at bugs.python.org
Mon Jun 7 10:06:17 CEST 2010
Marc-Andre Lemburg <mal at egenix.com> added the comment:
Alexander Belopolsky wrote:
>
> Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
>
> As far as I remember, the datetime module started as a pure python module and was reimplemented in C around year 2003 or so. One of the important additions at that time was the C API to datetime functionality. I am afraid that with the _timemodule.c/timemodule.py split there will be more an more functionality that is awkward to access from C API.
That's correct, though the main reason for rewriting the module in
C was to gain performance - this is essential for basic types like
date/time types.
-1 on undoing the C rewrite.
It would be much better to spell out the problems you mention and
provide patches to implement solutions for them.
----------
nosy: +lemburg
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7989>
_______________________________________
More information about the Python-bugs-list
mailing list