Skip to content

Commit

Permalink
bpo-42249: Fix writing binary Plist files larger than 4 GiB. (pythonG…
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka authored and adorilson committed Mar 11, 2021
1 parent d7aae08 commit 90068c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/plistlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def _count_to_size(count):
elif count < 1 << 16:
return 2

elif count << 1 << 32:
elif count < 1 << 32:
return 4

else:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed writing binary Plist files larger than 4 GiB.

0 comments on commit 90068c8

Please sign in to comment.