Ticket #24421 (closed defect: worksforme)
python dies using multiprocessing/urllib2 from mac ports, but works with stock python
|Reported by:||vkuznet@…||Owned by:||mcalhoun@…|
Hi, I observed very tricky problem. I have application written in python which uses multiprocessing module. So using the python 2.6 from macports cause python die in a thread when urllib2 module is invoked. To test I installed stock python 2.6.5 from python.org and everything works. I also verify that the problem lies with urllib2/multiprocessing modules, since if I replace urllib2 to httplib, everything works too. I attach apple traceback which shows the problem.
My guess that macports uses either special patch or enable flags which didn't come with stock python source and that cause a problem.
- Cc mcalhoun@… added
- Keywords python crash, urllib2, multiprocessing removed
- Port set to python26
- Owner changed from macports-tickets@… to blb@…
comment:14 Changed 5 years ago by blb@…
- Cc mcalhoun@… removed
- Owner changed from blb@… to mcalhoun@…