'Does Python follow normal Linux conventions when I use system calls defined in the os module?

I want to know if Python conforms to normal system behaviors that are defined in SUS, such as file descriptors being preserved across an 'exec' system call. I am creating an application that is written in C and in Python, and built on the Linux kernel. Are there any diverging behaviors I must look out for when using the os module?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source