Python Internals Serie : Subprocess.Popen
The purpose of this serie is to review some parts of the CPython’s code.
Well there are multiple reasons :
- Because we can. The project is opensource and the source code is
freely available here : https://github.com/python/cpython
- I strongly believe that we, as developpers, can learn a lot by
studying good and clean code. And I think we can safely assume
that CPython’s code, which is used practicaly everywhere, meet
- I also think that studying python internals can make us better
python programmers, for example ever wondered why changing
sys.stdout seems to have no effect on subprocesses ? Well at the
end of this article You will know why.
Source: Python Internals Serie :
article by Yassir Karroum.