]> granicus.if.org Git - python/commit
bpo-27169: The __debug__ constant is now optimized out at compile time. (#4880)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 15 Dec 2017 10:35:48 +0000 (12:35 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 10:35:48 +0000 (12:35 +0200)
commit3325a6780c81f1ea51190370b5454879c4862a37
tree3100f972b635137528b105c410ab88e6bff64521
parent297fd876aad8ef443d8992618de22c46dbda258b
bpo-27169: The __debug__ constant is now optimized out at compile time. (#4880)

This fixes also bpo-22091.
Lib/test/test_builtin.py
Lib/test/test_compile.py
Misc/NEWS.d/next/Core and Builtins/2017-12-15-11-50-06.bpo-27169.VO84fQ.rst [new file with mode: 0644]
Python/compile.c