STINNER Victor <vstin...@python.org> added the comment:

> There are several different problems, such as:
> https://github.com/python/cpython/blob/v3.10.0a2/Modules/mathmodule.c#L2033

I don't think that it's worth it to optimize this one.

> In addition, `utf16_decode` also has this problem, I forgot this:
https://github.com/python/cpython/blob/v3.10.0a2/Objects/stringlib/codecs.h#L465

I suggest to fix in it bpo-38252.

----------
nosy: +vstinner

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

Reply via email to