[Python-Dev] Compiling without multithreading support -- still useful?

Antoine Pitrou solipsis at pitrou.net
Wed Sep 6 13:15:47 EDT 2017


I made an experimental PR to remove support for threads-less builds:
https://github.com/python/cpython/pull/3385

The next effect is to remove almost 2000 lines of code (including many
#ifdef sections in C code).

Regards

Antoine.


On Tue, 5 Sep 2017 18:36:51 +0200
Antoine Pitrou <solipsis at pitrou.net> wrote:
> Hello,
> 
> It's 2017 and we are still allowing people to compile CPython without
> threads support.  It adds some complication in several places
> (including delicate parts of our internal C code) without a clear
> benefit.  Do people still need this?
> 
> Regards
> 
> Antoine.
> 
> 





More information about the Python-Dev mailing list