Message 107454 - Python tracker (original) (raw)
STINNER Victor wrote:
STINNER Victor <victor.stinner@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.
Ah, so that where the Python io module hides. Thanks for the pointer.