Douglas Mayle <[EMAIL PROTECTED]> added the comment:
I should note that test_normalization fails with or without the patch,
so no change
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Douglas Mayle <[EMAIL PROTECTED]> added the comment:
Since file() is removed from 3k, this error message tries to be as
generic as possible. We should also warn on any use of file() instead
of open()
Also, all tests have passed except test_normalization
--
keywords: +patch
Adde
Douglas Mayle <[EMAIL PROTECTED]> added the comment:
I'm on it...
--
nosy: +douglas
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2353>
__
_
Douglas Mayle <[EMAIL PROTECTED]> added the comment:
I ran python through a debugger and found that the exceptions module is
imported automatically at load time. Because of this, when "import
exceptions" is parsed, the module is already loaded, and PyImport_Import
is not call
Douglas Mayle added the comment:
Martin's hypothesis is confirmed, removing ::1 from /etc/hosts removes
the response
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Douglas Mayle added the comment:
Please close this as invalid, the system C library returns the same
response...
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Douglas Mayle:
The following code calls getadddrinfo and returns invalid addresses
(IPv6 addresses) when Python has been compiled with IPv6 support and the
system kernel does not support IPv6.
import socket
for res in socket.getaddrinfo("localhost"