This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kapilt
Recipients kapilt, ned.deily, ronaldoussoren
Date 2018-06-01.00:53:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527814386.62.0.682650639539.issue33725@psf.upfronthosting.co.za>
In-reply-to
Content
This issue seems to be reported a few times on various githubs projects. I've also reproduced using a brew install of python 2.7.15. I haven't been able to reproduce with python 3.6. Note this requires a framework build of python.

Background on the underlying issue cause due to a change in high Sierra 
http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html
A ruby perspective on the same issue exhibiting for some apps
https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/


The work around seems to be setting an environment variable OBJC_DISABLE_INITIALIZE_FORK_SAFETY prior to executing python.

Other reports

https://bugs.python.org/issue30837
https://github.com/ansible/ansible/issues/32499
https://github.com/imWildCat/scylla/issues/22
https://github.com/elastic/beats-tester/pull/73
https://github.com/jhaals/ansible-vault/issues/60
History
Date User Action Args
2018-06-01 00:53:06kapiltsetrecipients: + kapilt, ronaldoussoren, ned.deily
2018-06-01 00:53:06kapiltsetmessageid: <1527814386.62.0.682650639539.issue33725@psf.upfronthosting.co.za>
2018-06-01 00:53:06kapiltlinkissue33725 messages
2018-06-01 00:53:04kapiltcreate