29 Jun
2003
29 Jun
'03
8:07 p.m.
On Sat, 2003-06-28 at 17:40, Guido van Rossum wrote:
I can't see that it would affect the functioning of any programs other than those which set PYTHONINSPECT now. (But why would they do that and what's the likelihood such programs exist?)
Any chance this could be squeezed in? It seems rather elegant:
try: something which fails except: os.environ["PYTHONINSPECT"] = 1 raise
(I know we're at beta1, and the programmer could re-run with -i. But still...)
Looks harmless to me. Thomas Heller's alternative really does something different. Skip can check it in.
I just committed this for 2.3b2. -Barry