[issue42593] Consistency in unicode string multiplication with an integer

syl-nktaylor report at bugs.python.org
Mon Dec 7 17:06:03 EST 2020


syl-nktaylor <syl.nktaylor at gmail.com> added the comment:

The build did seem to run, despite memset using fillchar without the explicit casting, so I assumed it did an implicit casting, but the original casting can be kept of course. With this build, my sample tests for 1-byte, 2-byte and 4-byte chars also ran ok, so again, I assumed memset did the casting.

As for the benchmarks, I haven't run them, but yes, it's likely the best way to find out the performance considerations I was asking about.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42593>
_______________________________________


More information about the Python-bugs-list mailing list