]> granicus.if.org Git - python/commit
[3.6] bpo-27169: The __debug__ constant is now optimized out at compile time. (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 15 Dec 2017 11:26:26 +0000 (13:26 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 11:26:26 +0000 (13:26 +0200)
commitb82da9ebb20053637e731fd40589e1e52f9f8f6e
treebf208ed6cd08913e440c9eea5897c93e2520d050
parent22097aaa77b4f0473552fe840358d77e5b9a253f
[3.6] bpo-27169: The __debug__ constant is now optimized out at compile time. (GH-4880) (#4882)

This fixes also bpo-22091..
(cherry picked from commit 3325a6780c81f1ea51190370b5454879c4862a37)
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