[Python-ideas] Why does sys.flags have both .interactive and .inspect?

Alexander Walters tritium-list at sdamon.com
Sun Aug 23 20:30:11 CEST 2015


The sys.flags structure has both .interactive and .inspect for when 
python is run with -i.  I cannot figure out a way to make one 'True' and 
the other 'False'.  Are they both needed?  Can one be removed? If they 
cannot be removed, and they can indeed be different values, can it be 
documented what the difference between them is?


More information about the Python-ideas mailing list