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
<https://bugs.python.org/is
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
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("&
Chui Tey added the comment:
Hi,
I'm still available. There's a test case in the patch, would you like
me to separate that to another file? Would that help with assessing
it?
Best,
On 8 July 2014 22:05, Hynek Schlawack wrote:
>
> Hynek Schlawack added the comment:
>
> I