[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator
Serhiy Storchaka
report at bugs.python.org
Tue Nov 27 02:10:08 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Objects/unicodeobject.c: In function ‘_PyUnicode_FastFill’:
Objects/unicodeobject.c:10126:24: warning: passing argument 2 of ‘unicode_fill’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
unicode_fill(kind, data, fill_char, start, length);
^~~~
Objects/unicodeobject.c:224:1: note: expected ‘void *’ but argument is of type ‘const void *’
unicode_fill(enum PyUnicode_Kind kind, void *data, Py_UCS4 value,
^~~~~~~~~~~~
In file included from /usr/include/wchar.h:850:0,
from ./Include/unicodeobject.h:97,
from ./Include/Python.h:87,
from ./Modules/getpath.c:3:
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33954>
_______________________________________
More information about the Python-bugs-list
mailing list