summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-29 07:45:26 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-29 07:45:26 (GMT)
commitd0b592f8e8409a4987932a3c7e021e241a090a7d (patch)
tree1a17d212216d3e24d03e0d4cd56db7a4e534d7e3
parentb77e888f415d72d028361952692006a38c2473c8 (diff)
downloadcpython-d0b592f8e8409a4987932a3c7e021e241a090a7d.zip
cpython-d0b592f8e8409a4987932a3c7e021e241a090a7d.tar.gz
cpython-d0b592f8e8409a4987932a3c7e021e241a090a7d.tar.bz2
#2985: allow i8 in XMLRPC responses.
-rw-r--r--Lib/xmlrpclib.py1
-rw-r--r--Misc/NEWS7
2 files changed, 6 insertions, 2 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index d635a4e..f600de7 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -897,6 +897,7 @@ class Unmarshaller:
self.append(int(data))
self._value = 0
dispatch["i4"] = end_int
+ dispatch["i8"] = end_int
dispatch["int"] = end_int
def end_double(self, data):
diff --git a/Misc/NEWS b/Misc/NEWS
index b3202b8..2838887 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -63,8 +63,11 @@ Extension Modules
Library
-------
-Issue #2877 - The UserString.MutableString class has been removed in
- Python 3.0.
+- Issue #2985: Allow 64-bit integer responses (``<i8>``) in XMLRPC
+ transfers.
+
+- Issue #2877: The UserString.MutableString class has been removed in
+ Python 3.0.
- Do not close external file objects passed to tarfile.open(mode='w:bz2')
when the TarFile is closed.