bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)

(cherry picked from commit 212d32f45c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Skeleton (bot) 2020-11-03 07:01:56 -08:00 committed by GitHub
parent 547d2bcc55
commit ac70175fc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -736,7 +736,7 @@ def _count_to_size(count):
elif count < 1 << 16:
return 2
elif count << 1 << 32:
elif count < 1 << 32:
return 4
else:

View file

@ -0,0 +1 @@
Fixed writing binary Plist files larger than 4 GiB.