[Scons-dev] windows and non-thread Pythons

Bill Deegan bill at baddogconsulting.com
Fri Feb 8 11:43:26 EST 2019


Check the docs on 2.7, but I'm pretty sure all pythons 3.5+ build with
threads.

On Fri, Feb 8, 2019 at 11:01 AM Mats Wichmann <mats at wichmann.us> wrote:

>
> One of the windows scons source files uses subprocess to run vswhere,
> and it calls suprocess.communicate.  This is new code and seems to be
> working fine as far as I know.
>
> Another source file calls a vcvars* batch script, and does not use
> subprocess.communicate, with the following comment:
>
>     # Use the .stdout and .stderr attributes directly because the
>     # .communicate() method uses the threading module on Windows
>     # and won't work under Pythons not built with threading.
>
> Is that a Thing any longer? Windows Pythons not built with threading? Or
> is this a special-case that can be eliminated?
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20190208/e64a9f11/attachment.html>


More information about the Scons-dev mailing list