Mark Lawrence added the comment:
The output now is
c:\Users\Mark\PythonIssues>cgitbbug.py getattr1
3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)]
Traceback (most recent call last):
File "C:\Users\Mark\PythonIssues\cgitbbug.py", line 34, in <module>
d.h('aaa')
File "C:\Users\Mark\PythonIssues\cgitbbug.py", line 23, in _f
raiseError()
File "C:\Users\Mark\PythonIssues\cgitbbug.py", line 3, in raiseError
raise ValueError('original error')
ValueError: original error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Mark\PythonIssues\cgitbbug.py", line 36, in <module>
print(cgitb.html(sys.exc_info(),context=3))
File "c:\python34\lib\cgitb.py", line 136, in html
vars = scanvars(reader, frame, locals)
File "c:\python34\lib\cgitb.py", line 88, in scanvars
value = getattr(parent, token, __UNDEF__)
File "C:\Users\Mark\PythonIssues\cgitbbug.py", line 16, in __getattr__
if self._mad=='getattr1': raise ValueError('getattr1 madness')
ValueError: getattr1 madness
Thus the madness has been fixed and this can be closed as "out of date".
----------
nosy: +BreamoreBoy
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1047397>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com