[issue10089] Add support for arbitrary -X options

Senthil Kumaran report at bugs.python.org
Fri Oct 15 09:18:21 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

On Wed, Oct 13, 2010 at 07:01:40PM +0000, Antoine Pitrou wrote:
> $ ./python -Xa,b=c,d -Xe,f=g=h -c "import sys; print(sys.xoptions)"
> {'a': True, 'b': 'c', 'e': True, 'd': True, 'f': 'g=h'}

Docs should be updated too. I see that the values could either be True
or a string? Would this be perceived as a limitation?

----------
nosy: +orsenthil

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


More information about the Python-bugs-list mailing list