Jesús Cea Avión added the comment:

If Unix system call "system()" fails, it will return -1. Python should convert 
a -1 to the appropiate exception, checking "errno".

In Solaris, for instance, "system()" is documented to fail if the max number of 
processes are reached, if the syscall was interrupted or if the OS doesn't have 
enough memory.

Currently, python "os.system()" will signal an error returning "-1", instead of 
raising an exception.

Python 2.6 is open only for security fixes, retargetting 2.7, 3.2, 3.3 and 3.4.


nosy: +jcea
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.6

Python tracker <>
Python-bugs-list mailing list

Reply via email to