]> granicus.if.org Git - python/commit
bpo-37146: disable opcache when Py_DEBUG is defined (GH-13787)
authorInada Naoki <songofacandy@gmail.com>
Mon, 3 Jun 2019 22:38:10 +0000 (07:38 +0900)
committerVictor Stinner <vstinner@redhat.com>
Mon, 3 Jun 2019 22:38:09 +0000 (00:38 +0200)
commiteddef861b49f1635222a9e1771231c34a807debf
tree254bbdec06edfdca92d8e1ab6ab2e53652ac3875
parent0f0a30f4da4b529e0f7df857b9f575b231b32758
bpo-37146: disable opcache when Py_DEBUG is defined (GH-13787)

--with-pydebug is commonly used to find memory leaks.
But opcache makes it harder.
So disable opcache when Py_DEBUG is defined.
Python/ceval.c