]> granicus.if.org Git - python/commit
Utterly minimal changes to collapse datetimetz into datetime, and timetz
authorTim Peters <tim.peters@gmail.com>
Wed, 8 Jan 2003 20:40:01 +0000 (20:40 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 8 Jan 2003 20:40:01 +0000 (20:40 +0000)
commit0bf60bd67f6a81feb62a44e22b7ecd9aad78555a
tree4d544f1e1ec014237e1f4ecb0331af4130f67203
parent034d97605d5300721310a0d7320b41f67237007b
Utterly minimal changes to collapse datetimetz into datetime, and timetz
into time.  This is little more than *exporting* the datetimetz object
under the name "datetime", and similarly for timetz.  A good implementation
of this change requires more work, but this is fully functional if you
don't stare too hard at the internals (e.g., right now a type named
"datetime" shows up as a base class of the type named "datetime").  The
docs also need extensive revision, not part of this checkin.
Lib/test/test_datetime.py
Misc/NEWS
Modules/datetimemodule.c