]> granicus.if.org Git - python/commit
Fix SF buf #480096: Assign to __debug__ still allowed
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 20:37:13 +0000 (20:37 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 20:37:13 +0000 (20:37 +0000)
commit8edd5402f081a675093bd30f24034a527eb8471c
treef090b6f4f5263a319048a2186c03d49be9d94504
parent778e26546284f956cbf8a85a8b7a0bf28c194410
Fix SF buf #480096: Assign to __debug__ still allowed

Easy enough to catch assignment in the compiler.  The perverse user
can still change the value of __debug__, but that may be the least he
can do.
Lib/test/output/test_compile