New submission from jweber <ja...@jacobweber.com>: The following program works fine under Mac OS 10.5.x. But in 10.6, it crashes Python, and displays Apple's crash reporter dialog. I've tried it on Python 2.6 and 2.5, both the 64-bit and 32-bit versions.
The crash seems to happen any time urllib.urlopen is done in a thread. The same thing happens if I do it in a BaseHTTPServer.HTTPServer, using SocketServer.ThreadingMixIn. #!/usr/bin/python import threading, urllib class MyThread (threading.Thread): def run(self): c = urllib.urlopen("http://www.google.com") MyThread().start() ---------- assignee: ronaldoussoren components: Macintosh files: crash_log.txt messages: 92340 nosy: jweber, ronaldoussoren severity: normal status: open title: urllib.urlopen crashes in a thread on Snow Leopard type: crash versions: Python 2.5, Python 2.6 Added file: http://bugs.python.org/file14849/crash_log.txt _______________________________________ 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