[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Decoding a 2 GiB string takes > 80 seconds on my computer and needs around 14 GiB of memory. -- ___ Python tracker ___

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix ;-) I guess that nobody tried this code with a string longer than 2 GiB before you :-) -- ___ Python tracker ___

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread miss-islington
miss-islington added the comment: New changeset 0f9b6687eb8b26dd804abcc6efd4d6430ae16f24 by Miss Islington (bot) in branch '3.6': bpo-35372: Fix the code page decoder for input > 2 GiB. (GH-10848) https://github.com/python/cpython/commit/0f9b6687eb8b26dd804abcc6efd4d6430ae16f24 --

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread miss-islington
miss-islington added the comment: New changeset bdeb56cd21ef3f4f086c93045d80f2a753823379 by Miss Islington (bot) in branch '3.7': bpo-35372: Fix the code page decoder for input > 2 GiB. (GH-10848) https://github.com/python/cpython/commit/bdeb56cd21ef3f4f086c93045d80f2a753823379 --

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +10095 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4013c179117754b039957db4730880bf3285919d by Serhiy Storchaka in branch 'master': bpo-35372: Fix the code page decoder for input > 2 GiB. (GH-10848) https://github.com/python/cpython/commit/4013c179117754b039957db4730880bf3285919d --

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +10094 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10083 stage: -> patch review ___ Python tracker ___ ___

[issue35372] Code page decoder incorrectly handles input >2GiB

2018-12-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> b = b'a'*(2**31-2)+b'\xff'*2 >>> x, y = codecs.code_page_decode(932, b, 'replace', True) >>> len(x) 2 >>> x, y ('aa', 2147483648) -- assignee: serhiy.storchaka components: Interpreter Core messages: 330855 nosy: serhiy.storchaka, vstinner