Ronald Oussoren <ronaldousso...@mac.com> added the comment:

This probably means that the ctypes code in urllib.py needs to be ported 
to C, although we won't know if that helps until said C code is written 
:-(

Doing that would be a good idea anyway, while trying to create a 
workaround I noticed that the ctypes code is invalid anyway because 
there are not enough ctypes annotations when running in 64-bit mode 
(where sizeof(int) != sizeof(long))

In 32-bit mode you can avoid the crash by calling urllib.urlopen or 
urllib.proxy_bypass once on the main thread, but you have to use a 
qualified name ("localhost.localdomain", not "localhost").

----------
resolution:  -> accepted
stage:  -> needs patch

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

Reply via email to