]> granicus.if.org Git - python/commit
Fix Armin's bug 1333982. He found it, he didn't created it :-)
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 18 Dec 2005 07:06:23 +0000 (07:06 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 18 Dec 2005 07:06:23 +0000 (07:06 +0000)
commit51abbc7b4affeeedb8faf1adee8195be9ad8195f
treec4bc413f79bfff8a43e91a0f2bd15322da92cce9
parent0e7a0ed335b464eb82e2b06f334566fe6d35226a
Fix Armin's bug 1333982. He found it, he didn't created it :-)

This code generated a C assertion:
        assert 1, ([s for s in x] +
                   [s for s in x])
        pass

assert was completely broken, it needed to use the proper block.
compiler_use_block() is now no longer used, so remove it.
Lib/test/test_dis.py
Python/compile.c