From: Jeremy Hylton Date: Fri, 9 Nov 2001 20:37:13 +0000 (+0000) Subject: Fix SF buf #480096: Assign to __debug__ still allowed X-Git-Tag: v2.2.1c1~804 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8edd5402f081a675093bd30f24034a527eb8471c;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/output/test_compile b/Lib/test/output/test_compile index de3335276b51..303b745908cc 100644 --- a/Lib/test/output/test_compile +++ b/Lib/test/output/test_compile @@ -1,5 +1,4 @@ test_compile -testing complex args 1 2 1 2 3 4