Danish Prakash <grafitykonc...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to