[issue24784] Build fails --without-threads

2015-08-03 Thread Louis Dassy
New submission from Louis Dassy: Build of default branch fails using --without-threads. I added the WITH_THREAD check around PyGILState_Check -- components: Build files: without-threads.patch keywords: patch messages: 247921 nosy: berker.peksag, louis.dassy, python-dev priority: normal

[issue24728] Build fails when threads are disabled

2015-07-26 Thread Louis Dassy
New submission from Louis Dassy: If threads are disabled using --without-threads, the build of Python/pythonrun.c will fail because PyGILState_GetThisThreadState() is undefined. I've attached the trivial fix, modeled after 29f51c4ae11a. -- components: Interpreter Core