Added note about new datetime module in Python 2.3.

This commit is contained in:
Marc-André Lemburg 2003-02-11 13:19:51 +00:00
parent ce2804d8fc
commit 37e79f5901
1 changed files with 6 additions and 0 deletions

View File

@ -572,6 +572,12 @@ Implementation Hints for Module Authors
Objects/bufferobject.c in the Python source Objects/bufferobject.c in the Python source
distribution. distribution.
* Starting with Python 2.3, module authors can also use the object
types defined in the standard datetime module for date/time
processing. However, it should be noted that this does not
expose a C API like mxDateTime does which means that integration
with C based database modules is more difficult.
* Here is a sample implementation of the Unix ticks based * Here is a sample implementation of the Unix ticks based
constructors for date/time delegating work to the generic constructors for date/time delegating work to the generic
constructors: constructors: