<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/plistlib.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/plistlib.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/plistlib.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-11-03T15:01:56Z</updated>
<entry>
<title>bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)</title>
<updated>2020-11-03T15:01:56Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-11-03T15:01:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac70175fc038e0f06034c4d61c577ef4b923464a'/>
<id>urn:sha1:ac70175fc038e0f06034c4d61c577ef4b923464a</id>
<content type='text'>
(cherry picked from commit 212d32f45c91849c17a82750df1ac498d63976be)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-42103: Improve validation of Plist files. (GH-22882) (GH-23116)</title>
<updated>2020-11-03T07:32:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-11-03T07:32:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=547d2bcc55e348043b2f338027c1acd9549ada76'/>
<id>urn:sha1:547d2bcc55e348043b2f338027c1acd9549ada76</id>
<content type='text'>
* Prevent some possible DoS attacks via providing invalid Plist files
  with extremely large number of objects or collection sizes.
* Raise InvalidFileException for too large bytes and string size instead of returning garbage.
* Raise InvalidFileException instead of ValueError for specific invalid datetime (NaN).
* Raise InvalidFileException instead of TypeError for non-hashable dict keys.
* Add more tests for invalid Plist files.

(cherry picked from commit 34637a0ce21e7261b952fbd9d006474cc29b681f)
</content>
</entry>
<entry>
<title>bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) (GH-22807)</title>
<updated>2020-10-20T08:05:40Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-20T08:05:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1eb75585ef4c108732ec815cdc0adef087b1c3e'/>
<id>urn:sha1:d1eb75585ef4c108732ec815cdc0adef087b1c3e</id>
<content type='text'>
(cherry picked from commit 3185267400be853404f22a1e06bb9fe1210735c7)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;</content>
</entry>
<entry>
<title>bpo-42051: Reject XML entity declarations in plist files (GH-22760)</title>
<updated>2020-10-20T02:35:23Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-20T02:35:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65894cac0835cb8f469f649e20aa1be8bf89f5ae'/>
<id>urn:sha1:65894cac0835cb8f469f649e20aa1be8bf89f5ae</id>
<content type='text'>
(cherry picked from commit 05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;</content>
</entry>
<entry>
<title>Clarify that plistlib's load and dump functions take a binary file object (GH-9825)</title>
<updated>2019-07-14T09:25:43Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-07-14T09:25:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3958b7aae8cc7c571a842ff43c1dea1da9abdd9d'/>
<id>urn:sha1:3958b7aae8cc7c571a842ff43c1dea1da9abdd9d</id>
<content type='text'>
The documentation says that the fp parameter to plistlib.load "should be a
readable and binary file object" but the docstring only mentions that it
should be readable. Similarly, plistlib.dump's docstring only mentions
"writable". This commit clarifies that fp should also be binary.

https://docs.python.org/3/library/plistlib.htmlGH-plistlib.load
https://docs.python.org/3/library/plistlib.htmlGH-plistlib.dump
(cherry picked from commit 0d4f4352efecf1b044c88e234e71774fe04b7d6c)

Co-authored-by: Collin Styles &lt;collingstyles@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-26707: Enable plistlib to read UID keys. (GH-12153)</title>
<updated>2019-05-15T20:14:38Z</updated>
<author>
<name>Jon Janzen</name>
<email>jjjonjanzen@gmail.com</email>
</author>
<published>2019-05-15T20:14:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c981ad16b0f9740bd3381c96b4227a1faa1a88d9'/>
<id>urn:sha1:c981ad16b0f9740bd3381c96b4227a1faa1a88d9</id>
<content type='text'>
Plistlib currently throws an exception when asked to decode a valid
.plist file that was generated by Apple's NSKeyedArchiver. Specifically,
this is caused by a byte 0x80 (signifying a UID) not being understood.

This fixes the problem by enabling the binary plist reader and writer
to read and write plistlib.UID objects.
</content>
</entry>
<entry>
<title>bpo-33908: Remove two superfluous assignments (GH-7116)</title>
<updated>2018-06-20T05:07:31Z</updated>
<author>
<name>Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)</name>
<email>srinivasreddy@users.noreply.github.com</email>
</author>
<published>2018-06-20T05:07:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=acdc660efc2056d8e28d99eaaf79ab60a263bd15'/>
<id>urn:sha1:acdc660efc2056d8e28d99eaaf79ab60a263bd15</id>
<content type='text'>
Signed-off-by: Srinivas Reddy Thatiparthy &lt;thatiparthysreenivas@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-32072: Fix issues with binary plists. (#4455)</title>
<updated>2017-11-30T21:26:11Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-11-30T21:26:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a897aeeef647259a938a36cb5eb6680c86021c6a'/>
<id>urn:sha1:a897aeeef647259a938a36cb5eb6680c86021c6a</id>
<content type='text'>
* Fixed saving bytearrays.
* Identical objects will be saved only once.
* Equal references will be load as identical objects.
* Added support for saving and loading recursive data structures.
</content>
</entry>
<entry>
<title>bpo-31897: Convert unexpected errors when read bogus binary plists into InvalidFileException. (#4171)</title>
<updated>2017-10-31T12:05:53Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-31T12:05:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db91e0fe2417f075693a194a492b1699829871e7'/>
<id>urn:sha1:db91e0fe2417f075693a194a492b1699829871e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDict (#488)</title>
<updated>2017-05-15T10:21:31Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-05-15T10:21:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=edef358ed6d05f927bf1636cc5a920a9d868b131'/>
<id>urn:sha1:edef358ed6d05f927bf1636cc5a920a9d868b131</id>
<content type='text'>
in the plistlib module.  Dict values in the result of functions
readPlist() and readPlistFromBytes() are now exact dicts.
</content>
</entry>
</feed>
