[issue14508] gprof2html is broken

R. David Murray report at bugs.python.org
Fri Apr 6 03:25:43 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

I'm getting 'malformed patch at line 30' when I try to apply your patch.

Also, while it's not wrong, I don't think there's much point in catching the NameError and doing a fail.  The second Exception clause is definitely wrong, though, we don't want other errors to pass silently.   So I think the test should just do the call to gprof.main, with a comment mentioning this bug and saying that the call used to raise a NameError. (If it does fail for some other reason, then the test will need to get a little more complicated so that it doesn't.)

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list