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 danishprakash
Recipients danishprakash, vstinner, xtreak
Date 2018-10-07.13:40:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538919654.85.0.545547206417.issue34812@psf.upfronthosting.co.za>
In-reply-to
Content
> I expect to get: ['-I'] instead of ['-s', '-E', '-I']

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. 

Secondly, we could handle this condition in `_args_from_interpreted_flags()` itself but that might be looked upon as bad practice.
History
Date User Action Args
2018-10-07 13:40:54danishprakashsetrecipients: + danishprakash, vstinner, xtreak
2018-10-07 13:40:54danishprakashsetmessageid: <1538919654.85.0.545547206417.issue34812@psf.upfronthosting.co.za>
2018-10-07 13:40:54danishprakashlinkissue34812 messages
2018-10-07 13:40:54danishprakashcreate