[issue27078] Make f'' strings faster than .format: BUILD_STRING opcode?
Antti Haapala
report at bugs.python.org
Sat Sep 3 16:40:37 EDT 2016
Antti Haapala added the comment:
I tried to post a comment on rietveld, but 500 infernal error...
PyUnicode_New(0, 0) will return unicode_empty. If unicode_empty is NULL, then it will also initialize it. It would be cleanest if unicode_empty was statically created.
NULL cannot be used as the separator argument to `PyUnicode_Join(PyObject *separator, PyObject *seq)` to mean an empty string, as it already means ' ' (space!).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27078>
_______________________________________
More information about the Python-bugs-list
mailing list