Message299979
| Author |
vstinner |
| Recipients |
Arfrever, acassaigne, docs@python, gregory.p.smith, josh.r, ncoghlan, r.david.murray, tim.golden, vstinner |
| Date |
2017年08月09日.09:21:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1502270464.81.0.980131134285.issue22635@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
IMHO it's too late to change *again* subprocess.getstatusoutput() behaviour. Otherwise, it would mean that a complex test like "if not((3, 4) <= sys.version_info < (3, 7))" would be needed to workaround the bug... Whereas right now, basically we only have to check if we are running on Python 3 or not. (Python 3.0-3.3 is almost not used in the wild.)
Instead we should just *document* the behaviour change using ".. versionchanged:: 3.4" in Doc/library/subprocess.rst.
Any volunteer to do that? |
|