[issue17705] Fill Character cannot be \0

Stefan Krah report at bugs.python.org
Sat Apr 13 16:47:32 CEST 2013


Stefan Krah added the comment:

Unsurprisingly (libmpdec is a C library) this also does not work in _decimal. I could add a special case in _decimal.c at the cost of
two additional if statements for all regular use cases.


Is padding with NUL a legitimate use case? IOW, is the slowdown justified?

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17705>
_______________________________________


More information about the Python-bugs-list mailing list