[issue30710] getaddrinfo raises OverflowError

Serhiy Storchaka report at bugs.python.org
Tue Jun 20 12:54:34 EDT 2017


Serhiy Storchaka added the comment:

Now I understand your idea. It looks reasonable to me. Could you create a pull request on GitHub? Please provide also tests, add a Misc/NEWS entry and add your name in Misc/ACKS.

But how large is the performance hit of this change? It adds at least one additional memory allocation for the str object. If the slowdown is significant perhaps it is worth to keep the old code as a fast path.

----------

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


More information about the Python-bugs-list mailing list