[issue2742] example code does not work

Simon Cross report at bugs.python.org
Sat May 10 13:21:00 CEST 2008


Simon Cross <hodgestar at gmail.com> added the comment:

This also affects Python 2.4 and 2.6 on Linux systems. Bug
http://bugs.python.org/issue2763 is a duplicate of this one.

The issue is that socketmodule.c doesn't convert empty strings to NULLs
before passing hptr through to the underlying system getaddrinfo(...).
The question is whether to fix the documentation and examples or the
socketmodule.c code.

----------
nosy: +hodgestar
versions: +Python 2.4, Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2742>
__________________________________


More information about the Python-bugs-list mailing list