[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2020-10-19 Thread Ned Deily
Ned Deily added the comment: I can't reproduce with 3.9 on 10.9, either. If someone can reproduce with current Pythons and/or macOS without involving forking, feel free to reopen with details. -- status: pending -> closed ___ Python tracker

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I cannot reproduce this issue on macOS 10.15 (with python 3.9). I intent to close this issue because (a) this is a platform problem and (b) seems no longer to be a problem with the latest macOS and Python versions. -- resolution: -> out of date

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2015-07-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think it is possible to fix this crash other than by removing the use of _scproxy (proxy autodection on OSX) completely. Problem is that Apple's higher level APIs (such as those used in _scproxy) don't take the use-case of calling fork(2), but not

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-07-18 Thread Bob Carroll
Bob Carroll added the comment: I'm not forking, but this is possibly related my issue. I have a twisted application that periodically crashes when attempting to make an HTTP request. Based on the stack trace showing _scproxy, I tried the work around and it seems to have helped. The crash log

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-04-20 Thread Lita Cho
Lita Cho added the comment: Going to try working on this. -- nosy: +Lita.Cho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20585 ___ ___

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-02-11 Thread Andrew Gross
Andrew Gross added the comment: Thanks, the workaround fixes my issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20585 ___ ___

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-02-10 Thread Andrew Gross
New submission from Andrew Gross: In the latest OSX, 10.9, it looks like there have been some security changes related to inheriting file descriptors from parent to child processes. While in the past it would allow you to inherit the parents open FDs, now it will kill the process. It looks

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-02-10 Thread Andrew Gross
Andrew Gross added the comment: For some additional context on how I came across this bug, check out https://github.com/coderanger/pychef/issues/29 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20585

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-02-10 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil priority: normal - high versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20585 ___

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-02-10 Thread Ned Deily
Ned Deily added the comment: It looks like the culprit is _scproxy, an internal C extension, that urllib2 (py2) and urllib.request (py3) use on OS X to access the system configuration for network proxies. If you aren't using any proxies, a workaround is to define an environment variable: