PyDocs

Nav

Python Runtime Services

_xoptions

sys

data · Added in 3.2
A dictionary of the various implementation-specific flags passed through the -X command-line option. Option names are either mapped to their values, if given explicitly, or to True. Example:

The official docs include a CPython implementation detail for this entry.

1 Example
$ ./python -Xa=b -Xc
Python 3.2a3+ (py3k, Oct 16 2010, 20:14:50)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._xoptions
{'a': 'b', 'c': True}
from the Python docs
See Also
No see-alsos for sys/_xoptions
0 Notes
No notes for _xoptions