This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | xtreak |
|---|---|
| Recipients | vstinner, xtreak |
| Date | 2018年09月29日.07:09:30 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1538204970.66.0.545547206417.issue34812@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Thanks Victor for the details. Can this be classified as an easy issue? I guess the fix will be as below : 1. Add an entry for '-I' at https://github.com/python/cpython/blob/4b430e5f6954ef4b248e95bfb4087635dcdefc6d/Lib/subprocess.py#L260 2. Add a test for '-I' at https://github.com/python/cpython/blob/4b430e5f6954ef4b248e95bfb4087635dcdefc6d/Lib/test/test_support.py#L472. The only thing here is that '-I' returns '-s -E -I' unlike other options where args can be used for comparison logic in check_options. check_options should be changed so that this can take given args and the expected args for comparison to accommodate -I. Maybe there is a better way? Off topic : I don't know why '-I' is not documented as sys.flags.isolated at https://docs.python.org/3.7/library/sys.html#sys.flags . Maybe I will open up a separate issue for this? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018年09月29日 07:09:30 | xtreak | set | recipients: + xtreak, vstinner |
| 2018年09月29日 07:09:30 | xtreak | set | messageid: <1538204970.66.0.545547206417.issue34812@psf.upfronthosting.co.za> |
| 2018年09月29日 07:09:30 | xtreak | link | issue34812 messages |
| 2018年09月29日 07:09:30 | xtreak | create | |