[Python-Dev] __lltrace__

Kristján Valur Jónsson kristjan at ccpgames.com
Sat Apr 14 11:14:08 CEST 2007

Hello again.
So, using __lltrace__, I stumbled over a crashbug (to which I have already submitted a fix).i
To trigger the crash, I modified lib/test/test_trace.py, lines 609 onwards:
    def test_16_no_jump_into_finally_block(self):
        globals()["__lltrace__"] = 1
        del globals()["__lltrace__"]

This would crash in all versions I tried.
Now, I wonder, is it worth it adding a regression test for the __lltrace__ functionality?  I realize it is a debug feature, only availible in
debug builds,  for debugging python itself, on the other hand, it had been broken for a long time and no one had noticed, hence perhaps the need for a test?

What do you think?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070414/9a05c088/attachment.htm 

More information about the Python-Dev mailing list