<div dir="ltr">I think this is useful as it can make porting easier. I am using it in my attempts to cross compile CPython to WebAssembly (since WebAssembly in its MVP does not support threading).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 6, 2017 at 10:15 AM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I made an experimental PR to remove support for threads-less builds:<br>
<a href="https://github.com/python/cpython/pull/3385" rel="noreferrer" target="_blank">https://github.com/python/<wbr>cpython/pull/3385</a><br>
<br>
The next effect is to remove almost 2000 lines of code (including many<br>
#ifdef sections in C code).<br>
<br>
Regards<br>
<br>
Antoine.<br>
<br>
<br>
On Tue, 5 Sep 2017 18:36:51 +0200<br>
Antoine Pitrou <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>> wrote:<br>
> Hello,<br>
><br>
> It's 2017 and we are still allowing people to compile CPython without<br>
> threads support.  It adds some complication in several places<br>
> (including delicate parts of our internal C code) without a clear<br>
> benefit.  Do people still need this?<br>
><br>
> Regards<br>
><br>
> Antoine.<br>
><br>
><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/ethan%40ethanhs.me" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>ethan%40ethanhs.me</a><br>
</blockquote></div><br></div>