diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-02-23 16:23:05 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-02-23 16:23:05 (GMT) |
commit | 085f75a8510000b38da641d5183a8a701c69d6d6 (patch) | |
tree | 2f5583f831053dab840e4940d3ee51112d2d9d7f /Doc/whatsnew | |
parent | 8328bbc57dccbcbd834f822c2c9c70bd2ad199eb (diff) | |
download | cpython-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.rst | 9 |
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 + .. ====================================================================== |