summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-02-23 16:23:05 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-02-23 16:23:05 (GMT)
commit085f75a8510000b38da641d5183a8a701c69d6d6 (patch)
tree2f5583f831053dab840e4940d3ee51112d2d9d7f /Doc/whatsnew
parent8328bbc57dccbcbd834f822c2c9c70bd2ad199eb (diff)
downloadcpython-085f75a8510000b38da641d5183a8a701c69d6d6.zip
cpython-085f75a8510000b38da641d5183a8a701c69d6d6.tar.gz
cpython-085f75a8510000b38da641d5183a8a701c69d6d6.tar.bz2
#1330538: Improve comparison of xmlrpclib.DateTime and datetime instances.
Remove automatic handling of datetime.date and datetime.time. This breaks backward compatibility, but python-dev discussion was strongly against this automatic conversion; see the bug for a link.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 3f89c03..a0ec071 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -1511,6 +1511,15 @@ code:
.. Issue 1706815
+* The :mod:`xmlrpclib` module no longer automatically converts
+ :class:`datetime.date` and :class:`datetime.time` to the
+ :class:`xmlrpclib.DateTime` type; the conversion semantics were
+ not necessarily correct for all applications. Code using
+ :mod:`xmlrpclib` should convert :class:`date` and :class:`time`
+ instances.
+
+ .. Issue 1330538
+
.. ======================================================================