<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/plistlib.py, branch 3.7</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.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/plistlib.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-11-10T19:54:15Z</updated>
<entry>
<title>[3.7] bpo-42103: Improve validation of Plist files. (GH-22882) (#23117)</title>
<updated>2020-11-10T19:54:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-11-10T19:54:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=225e3659556616ad70186e7efc02baeebfeb5ec4'/>
<id>urn:sha1:225e3659556616ad70186e7efc02baeebfeb5ec4</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)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-42051: Reject XML entity declarations in plist files (#22760) (GH-22801)</title>
<updated>2020-10-20T02:36:27Z</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2020-10-20T02:36:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e512bc799e3864fe3b1351757261762d63471efc'/>
<id>urn:sha1:e512bc799e3864fe3b1351757261762d63471efc</id>
<content type='text'>
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:23:38Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-07-14T09:23:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5631e381a6fbc471896b5562d542be0a6befa797'/>
<id>urn:sha1:5631e381a6fbc471896b5562d542be0a6befa797</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-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>
<entry>
<title>Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.</title>
<updated>2016-10-04T17:08:29Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-04T17:08:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db8d6265fa86a7cb9d7c5e4d60e3b342edc90176'/>
<id>urn:sha1:db8d6265fa86a7cb9d7c5e4d60e3b342edc90176</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.</title>
<updated>2016-10-04T17:04:30Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-04T17:04:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7338ebc4ba00366fa2c4f592630c2acd98c178d8'/>
<id>urn:sha1:7338ebc4ba00366fa2c4f592630c2acd98c178d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27109: Add InvalidFileException to __all__, by Jacek Kołodziej</title>
<updated>2016-06-06T02:00:50Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-06T02:00:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0'/>
<id>urn:sha1:d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26711: Fixed the comparison of plistlib.Data with other types.</title>
<updated>2016-05-01T10:36:16Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-05-01T10:36:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd1bcdf6187ff18fb1536a6190926b0f03336186'/>
<id>urn:sha1:dd1bcdf6187ff18fb1536a6190926b0f03336186</id>
<content type='text'>
</content>
</entry>
</feed>
