]> granicus.if.org Git - python/commit
Fix the frozen bytecode for __hello__ (betcha didn't know that existed
authorGuido van Rossum <guido@python.org>
Thu, 18 Oct 2001 18:49:37 +0000 (18:49 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Oct 2001 18:49:37 +0000 (18:49 +0000)
commit4114a4afecdf1753b1140059d71bb03b4cec3ef1
tree0037455420bbddb0611fccc450b1a7f24e16838a
parent9ae09947f4c62bf1fffa9091b4ddc8833d5bcdfe
Fix the frozen bytecode for __hello__ (betcha didn't know that existed
:-).

Add a test that prevents the __hello__ bytecode from going stale
unnoticed again.

The test also tests the loophole noted in SF bug #404545.  This test
will fail right now; I'll check in the fix in a minute.
Lib/__phello__.foo.py [new file with mode: 0644]
Lib/test/output/test_frozen [new file with mode: 0644]
Lib/test/test_frozen.py [new file with mode: 0644]
Python/frozen.c