[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread miss-islington
miss-islington added the comment: New changeset d39c19255910b9dce08c595f511597e98b09e91f by Miss Islington (bot) in branch '3.7': bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) https://github.com/python/cpython/commit/d39c19255910b9dce08c595f511597e98b09e91f --

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +11129, 11130 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 44cc4822bb3799858201e61294c5863f93ec12e2 by Serhiy Storchaka in branch 'master': bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) https://github.com/python/cpython/commit/44cc4822bb3799858201e61294c5863f93ec12e2 --

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 08a81df05004147ee174ece645679576ab867860 by Serhiy Storchaka in branch '2.7': bpo-33817: Fix _PyString_Resize() and _PyUnicode_Resize() for empty strings. (GH-11515) https://github.com/python/cpython/commit/08a81df05004147ee174ece645679576ab8

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +11129 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11082, 11083 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11082, 11083, 11084 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch, patch pull_requests: +11079, 11080, 11081 stage: -> patch review ___ Python tracker ___ __

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11082 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +11079 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue33817] PyString_FromFormatV() fails to build empty strings

2019-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch pull_requests: +11079, 11080 stage: -> patch review ___ Python tracker ___

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey
Tey added the comment: BTW, problem does appear in 3.4 as it's only been fixed in 3.5+ as a fix for issue #25270 -- ___ Python tracker ___ ___

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey
Tey added the comment: For the record, it does not fail on 3.x because _PyBytes_Resize() checks if the "string" needs to be resized (and returns if not) before checking its ref count. Maybe something similar should be done in _PyString_Resize() for 2.x. -- __

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka versions: -Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-09 Thread Tey
New submission from Tey : Making PyString_FromFormatV() build an empty string on 2.7 will fail and raise the following error: SystemError: Objects/stringobject.c:3903: bad argument to internal function It does not matter if format is empty or not (e.g., both PyString_FromFormat("") and PyStri