There was an error while loading. Please reload this page.
1 parent 547d2bc commit ac70175Copy full SHA for ac70175
2 files changed
Lib/plistlib.py
@@ -736,7 +736,7 @@ def _count_to_size(count):
736
elif count < 1 << 16:
737
return 2
738
739
- elif count << 1 << 32:
+ elif count < 1 << 32:
740
return 4
741
742
else:
Misc/NEWS.d/next/Library/2020-11-03-09-22-56.bpo-42249.vfNO2u.rst
@@ -0,0 +1 @@
1
+Fixed writing binary Plist files larger than 4 GiB.
0 commit comments