Ronald Oussoren added the comment:

That's interesting... this also crashes:

>>> socket.getaddrinfo("localhost", "0", 0, 0, 0, socket.AI_NUMERICSERV)

While using another port number does not.

The attached patches for the default branch fixes the issue for me (on OSX 
10.8). 

The same approach should also work with 2.7 (but the patch likely won't apply 
cleanly due to the use of TABs for indents in 2.7 and spaces in 3.x).

Open issue: should there be a testcase for this problem?

----------
keywords: +needs review, patch
stage:  -> patch review
Added file: http://bugs.python.org/file29160/issue17269.txt

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

Reply via email to