summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2014-02-06 11:19:18 +0100
committerRonald Oussoren <ronaldoussoren@mac.com>2014-02-06 11:19:18 +0100
commit94e44a935b3dc1e67a6a3357f64324ee0c81d40c (patch)
tree7c8a8cb61491ec46dbe5e2042aa7fcaee4785fab /Doc
parent3dcb0cf9b195afc9d3a5c79f8b0a6cd755bc7bd0 (diff)
downloadcpython-git-94e44a935b3dc1e67a6a3357f64324ee0c81d40c.tar.gz
Issue #14455: fix handling of unsigned long long values for binary plist files
Values in the range of an unsigned long long, but outside of the range of a signed long long were serialized as a negative value. Due to a bug in PyObjC my test scripts indicated that the previous behavior matched Apple's plist code, instead the handle large unsigned values correctly. The change to plistlib.py is from a patch by Serhiy.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/plistlib.rst7
1 files changed, 0 insertions, 7 deletions
diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst
index 03cd3c1da7..7301d49510 100644
--- a/Doc/library/plistlib.rst
+++ b/Doc/library/plistlib.rst
@@ -107,13 +107,6 @@ This module defines the following functions:
An :exc:`OverflowError` will be raised for integer values that cannot
be represented in (binary) plist files.
- .. warning::
-
- For compatibility with Apple's libraries it is possible to write
- an integer in the range from 2 ** 63 upto (and including) 2 ** 64
- to binary plists, even though these will be read back as negative
- values.
-
.. versionadded: 3.4