OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Using Python on a fork-less POSIX-like OS


On 7/30/2018 4:26 AM, Barath Aron wrote:
> On 07/30/2018 10:23 AM, Victor Stinner wrote:
>> Python 3.8 will support os.posix_spawn(). I would like to see it used 
>> whenever possible instead of fork+exec, since it's faster and it can 
>> be safer on some platforms. Pablo Salgado is your guy for that.
>>
>> Victor 
> 
> Awesome! Will this backported to 2.7? Or people should forget 2.7?

Normally, enhancements are not backported anywhere.  New API == new 
version of Python.  You can, and people and organizations do, compile 
your own customized version.

Official (pydev) bugfixes for 2.7 end 1 Jan 2020.  Many projects have 
already stopped or will stop before then  fixing 2.7 versions of their 
packages.  But some people will probably use it for at least another 
decade.  Do what is best for you.

-- 
Terry Jan Reedy