◐ Shell
clean mode source ↗

bpo-37146: disable opcache when Py_DEBUG is defined by methane · Pull Request #13787 · python/cpython

Conversation

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

@pablogsal

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pablogsal

@vstinner

@methane: Thanks. I merged your PR to make Refleak buildbots green again (I hope!).

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
--with-pydebug is commonly used to find memory leaks.
But opcache makes it harder.
So disable opcache when Py_DEBUG is defined.

@methane methane deleted the disable-opcache-on-pydebug branch

April 28, 2025 03:11

Labels