STINNER Victor <vstin...@redhat.com> added the comment:

> I don't think this can be tested with Python code, unless you can make sure 
> the target buffer _PyUnicode_TransformDecimalAndSpaceToASCII operates on is 
> initialised with garbage bytes.

We just have to call float() with a non-ASCII string, no? An assertion must 
fail without the fix when Python is compiled in debug mode.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34087>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to