There was an error while loading. Please reload this page.
1 parent 74b4eda commit 212d32fCopy full SHA for 212d32f
2 files changed
Lib/plistlib.py
@@ -611,7 +611,7 @@ def _count_to_size(count):
611
elif count < 1 << 16:
612
return 2
613
614
- elif count << 1 << 32:
+ elif count < 1 << 32:
615
return 4
616
617
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