[issue6851] urllib.urlopen crashes in a thread on Snow Leopard

Ronald Oussoren report at bugs.python.org
Wed Sep 16 23:42:35 CEST 2009


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

The attached patch seems to fix the issue, but needs further testing. 

Warning: the patch is not entirely clean, the patch contains an 
unrelated change to setup.py.

The patch replaces some code that uses ctypes to read configuration data 
using the SystemConfiguration framework by a regular extension. 

With this patch the crasher goes away, I still have to do more testing 
and proper checking of the C code.

The patch is for the trunk, I expect it will cleanly port to 2.6. It 
will also need porting to 3.x later on.

----------
keywords: +26backport, patch
Added file: http://bugs.python.org/file14904/urllib-crash.patch

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


More information about the Python-bugs-list mailing list