Crash on Mac OS X caused by not loading Python on the main thread
Created by: jfroy
gitlab crashes on Mac OS X as soon as a page that tries to use pygments is loaded because the Python interpreter is loaded lazily on a thread other than the main thread. The default Python interpreter on Mac OS X links against CoreFoundation, which has an initialization function that must run on the main thread.