summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-08 20:40:01 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-08 20:40:01 (GMT)
commit0bf60bd67f6a81feb62a44e22b7ecd9aad78555a (patch)
tree4d544f1e1ec014237e1f4ecb0331af4130f67203 /Misc/NEWS
parent034d97605d5300721310a0d7320b41f67237007b (diff)
downloadcpython-0bf60bd67f6a81feb62a44e22b7ecd9aad78555a.zip
cpython-0bf60bd67f6a81feb62a44e22b7ecd9aad78555a.tar.gz
cpython-0bf60bd67f6a81feb62a44e22b7ecd9aad78555a.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS9
1 files changed, 8 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b55f8da..d2d4f8a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -31,6 +31,13 @@ Extension modules
- datetime changes:
+ The datetime and datetimetz classes have been collapsed into a single
+ datetime class, and likewise the time and timetz classes into a single
+ time class. Previously, a datetimetz object with tzinfo=None acted
+ exactly like a datetime object, and similarly for timetz. This wasn't
+ enough of a difference to justify distinct classes, and life is simpler
+ now.
+
today() and now() now round system timestamps to the closest
microsecond <http://www.python.org/sf/661086>. This repairs an
irritation most likely seen on Windows systems.
@@ -1202,7 +1209,7 @@ Mac
- MacPython no longer maps both \r and \n to \n on input for any text file.
This feature has been replaced by universal newline support (PEP278).
-
+
- The default encoding for Python sourcefiles in MacPython-OS9 is no longer
mac-roman (or whatever your local Mac encoding was but "ascii", like on
other platforms. If you really need sourcefiles with Mac characters in them