Skip to content

Commit 1b9f373

Browse files
committed
gh-144278: Enable defining _PY_DISABLE_SYS_CACHE_TAG to disable sys.implementation.cache_tag.
This has the effect of disabling automatic .pyc caching.
1 parent 66055d0 commit 1b9f373

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Enables patching in a ``_PY_DISABLE_SYS_CACHE_TAG`` preprocessor definition
2+
when building to force :data:`sys.implementation.cache_tag` to ``None``.
3+
This has the effect of completely disabling automatic creation and reading
4+
of ``.pyc`` files.

0 commit comments

Comments
 (0)