STINNER Victor <victor.stin...@haypocalc.com> added the comment:

I like the idea of a pure Python implementation of the datetime module, for 
different reasons:
 - it will become the reference implementation
 - other Python interpreters can use it
 - it can be used to test another implementation, eg. the current C version
 - implement/test a new feature is much faster in Python than in C

About the last point: I already used _pyio many times to fix a bug or to 
develop a new feature. _pyio helps to choice the right solution because you can 
easily write a short patch and so compare different solutions.

If other Python interpreters have already their Python implementation, we can 
just choose the best one, and patch it to add last new features of the C 
version.

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to