Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-144278: Enable overriding TAG (sys.implementation.cache_tag) when building sysmodule.c#144293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
zooba wants to merge18 commits intopython:main
base:main
Choose a base branch
Loading
fromzooba:gh-144278

Conversation

@zooba
Copy link
Member

@zoobazooba commentedJan 27, 2026
edited
Loading

In particular, this allows defining in to NULL, which has the effect of disabling automatic .pyc caching.
We also update tests to handle the cache tag being None, which was always allowed, but was not accounted for in tests.

… sys.implementation.cache_tag.This has the effect of disabling automatic .pyc caching.
@zoobazooba changed the titlegh-144278: Enable defining _PY_DISABLE_SYS_CACHE_TAG to disable sys.implementation.cache_taggh-144278: Enable overriding TAG (sys.implementation.cache_tag) when building sysmodule.cJan 28, 2026
@hugovkhugovk removed their request for reviewJanuary 28, 2026 18:01
@zooba
Copy link
MemberAuthor

If anyone stumbles into here and has any idea why execution is 2-3x slower whencache_tag is None, I'd love to hear about it. The test failures/cancellations are timeouts/time-sensitivity issues, not poor functionality, but I can't come up with any reason why it would be so much slower.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@webknjazwebknjazwebknjaz left review comments

@StanFromIrelandStanFromIrelandStanFromIreland left review comments

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner is a code owner

@savannahostrowskisavannahostrowskiAwaiting requested review from savannahostrowskisavannahostrowski is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon is a code owner

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw is a code owner

@pfmoorepfmooreAwaiting requested review from pfmoorepfmoore is a code owner

@pradyunsgpradyunsgAwaiting requested review from pradyunsgpradyunsg is a code owner

@ezio-melottiezio-melottiAwaiting requested review from ezio-melotti

Assignees

No one assigned

Labels

awaiting core reviewdocsDocumentation in the Doc dir

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@zooba@webknjaz@StanFromIreland

[8]ページ先頭

©2009-2026 Movatter.jp