Message327289
| Author |
xtreak |
| Recipients |
danishprakash, vstinner, xtreak |
| Date |
2018年10月07日.16:47:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1538930879.59.0.545547206417.issue34812@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> From what I understand, this can be done in one of two ways. First, we could edit https://github.com/python/cpython/blob/ad73a9cf97770023665a1bb1c6390a3c99478139/Modules/main.c#L430 and not incrementing -s and -E. But I believe this would have consequences that I'm unable to think of right now, so I'd like some inputs on this.
As in the docs for -I it implies -s and -E so removing the increment is not a good solution in my opinion and will break code.
I don't know how this can be handled since -I sets -s and -E implicitly and _args_from_interpreted_flags just looks for the set flag. This could also get a little complex if we remove -s and -E based on -I since one might pass -I and -s. Maybe we can do an intersection of the command line arguments passes and the set bits in _args_from_interpreted_flags so that only -I remains? Victor prefers -I only and maybe has an approach to solve this? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年10月07日 16:47:59 | xtreak | set | recipients:
+ xtreak, vstinner, danishprakash |
| 2018年10月07日 16:47:59 | xtreak | set | messageid: <1538930879.59.0.545547206417.issue34812@psf.upfronthosting.co.za> |
| 2018年10月07日 16:47:59 | xtreak | link | issue34812 messages |
| 2018年10月07日 16:47:59 | xtreak | create |
|