mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)
This commit is contained in:
parent
74b4eda98b
commit
212d32f45c
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue