[issue40372] doctest example programs should exit 1 if any test fails

2020-04-23 Thread Andreas Sommer
New submission from Andreas Sommer : Documentation recommends calling `doctest.testmod()`, but exits with code 0 even if a test fails. -- assignee: docs@python components: Documentation messages: 367086 nosy: Andreas Sommer, docs@python priority: normal severity: normal status: open

[issue23750] Clarify difference between os.system/subprocess.call in section Replacing os.system()

2015-03-23 Thread Andreas Sommer
New submission from Andreas Sommer: Reading over the section Replacing os.system() (https://docs.python.org/2/library/subprocess.html#replacing-os-system), one might assume that the return value of os.system and subprocess.call are equivalent. status = os.system(mycmd + myarg