[issue21966] InteractiveConsole does not support -q option

Anton Barkovsky report at bugs.python.org
Sat Jul 12 20:50:38 CEST 2014


Anton Barkovsky added the comment:

> 1. How should python3 -q -mcode behave?

I've only now found out about sys.flags. I think we should check for -q both before -m and after, because why not?

> 2. If we add this patch, should we also attempt to emulate other command line options (-V, -h, etc.)?

As I see it, the module is only concerned with REPL functionality, making these options a bit out of scope.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21966>
_______________________________________


More information about the Python-bugs-list mailing list