René's URL Explorer Experiment


Title: Replace context enter and exit events with single "context switched" event · Issue #124872 · python/cpython · GitHub

Open Graph Title: Replace context enter and exit events with single "context switched" event · Issue #124872 · python/cpython

X Title: Replace context enter and exit events with single "context switched" event · Issue #124872 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Opengraph URL: https://github.com/python/cpython

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace context enter and exit events with single \"context switched\" event","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\n(split off of https://github.com/python/cpython/issues/99633#issuecomment-2380302948 to keep related pull requests and discussion better organized)\r\n\r\nStarting in v3.14, C code can subscribe to \"context enter\" and \"context exit\" events:\r\n\r\nhttps://github.com/python/cpython/blob/120729d862f0ef9979508899f7f63a9f3d9623cb/Include/cpython/context.h#L30-L60\r\n\r\nSee gh-119333 for some background.\r\n\r\nI would like to replace the just-added \"context enter\" and \"context exit\" events with a single \"context switched\" event:\r\n\r\n```diff\r\ndiff --git a/Include/cpython/context.h b/Include/cpython/context.h\r\nindex ec72966e82c..f9638b0abe5 100644\r\n--- a/Include/cpython/context.h\r\n+++ b/Include/cpython/context.h\r\n@@ -28,8 +28,12 @@ PyAPI_FUNC(int) PyContext_Enter(PyObject *);\r\n PyAPI_FUNC(int) PyContext_Exit(PyObject *);\r\n \r\n typedef enum {\r\n-   Py_CONTEXT_EVENT_ENTER,\r\n-   Py_CONTEXT_EVENT_EXIT,\r\n+    /*\r\n+     * The current context has switched to a different context.  The object\r\n+     * passed to the watch callback is the now-current contextvars.Context\r\n+     * object.\r\n+     */\r\n+    Py_CONTEXT_SWITCHED = 1,\r\n } PyContextEvent;\r\n \r\n /*\r\ndiff --git a/Python/context.c b/Python/context.c\r\nindex ddb03555f9e..6c9f68583c2 100644\r\n--- a/Python/context.c\r\n+++ b/Python/context.c\r\n@@ -192,7 +192,7 @@ _PyContext_Enter(PyThreadState *ts, PyObject *octx)\r\n     ts->context = Py_NewRef(ctx);\r\n     ts->context_ver++;\r\n \r\n-    notify_context_watchers(Py_CONTEXT_EVENT_ENTER, ctx, ts);\r\n+    notify_context_watchers(Py_CONTEXT_SWITCHED, ctx, ts);\r\n     return 0;\r\n }\r\n \r\n@@ -226,13 +226,13 @@ _PyContext_Exit(PyThreadState *ts, PyObject *octx)\r\n         return -1;\r\n     }\r\n \r\n-    notify_context_watchers(Py_CONTEXT_EVENT_EXIT, ctx, ts);\r\n     Py_SETREF(ts->context, (PyObject *)ctx->ctx_prev);\r\n     ts->context_ver++;\r\n \r\n     ctx->ctx_prev = NULL;\r\n     ctx->ctx_entered = 0;\r\n \r\n+    notify_context_watchers(Py_CONTEXT_SWITCHED, (PyContext *)ts->context, ts);\r\n     return 0;\r\n }\r\n \r\n```\r\n\r\nRationale:  Users want to know when the current context switches to a different context object.  Right now this happens when and only when a context is entered or exited, so the enter and exit events are synonymous with \"switched\".  However, if the [changes proposed for gh-99633](https://github.com/python/cpython/issues/99633#issuecomment-2377915344) are implemented, the current context will also switch for reasons other than context enter or exit.  Since users actually care about context switches and not enter or exit, replacing the enter and exit events with a single switched event would make the new feature compatible with gh-99633.\r\n\r\nThe current \"context exit\" event is emitted just before exiting the context. The new \"context switched\" event would be emitted *after* the context is exited to match the semantics users expect of an event with a past-tense name.  If users need the ability to clean up before the switch takes effect, another \"context is about to switch\" event can be added in the future.  I am not proposing to add such an event for this issue because no users have requested it yet ([YAGNI](https://en.wikipedia.org/wiki/You_aren't_gonna_need_it)).\r\n\r\nI would love to get this resolved before v3.14 is released so that we don't have to worry about breaking backwards compatibility.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nI have already discussed this feature proposal on another bug report.\r\n\r\n### Links to previous discussion of this feature:\r\n\r\nhttps://github.com/python/cpython/issues/99633#issuecomment-2380302948\r\n\r\n\u003c!-- gh-linked-prs -->\r\n### Linked PRs\r\n* gh-124774\r\n* gh-124773\r\n* gh-124741\r\n* gh-124737\r\n* gh-124776\r\n* gh-125233\n* gh-125285\n* gh-125532\n* gh-125638\n\u003c!-- /gh-linked-prs -->\r\n","author":{"url":"https://github.com/rhansen","@type":"Person","name":"rhansen"},"datePublished":"2024-10-01T23:05:03Z","url":"https://github.com/python/cpython/issues/124872"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:389cc24f-858f-f668-9279-1fbcc7db6efe
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD7D0:20AA01:4B03951:5EF929B:6B023F33
html-safe-nonce3760744713ed82e5268d1732636c734b67e3ba688ba2a7b60369d43cccfbdb0a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0QwOjIwQUEwMTo0QjAzOTUxOjVFRjkyOUI6NkIwMjNGMzMiLCJ2aXNpdG9yX2lkIjoiMjQzOTgwOTI1NTc4ODkyMDYyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc5414ba207a9156452121f0e56a1bde46d155cf06d1b844a764b5b2a8a842787
hovercard-subject-tagrepository:81598961
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/issues/124872
twitter:imagehttps://opengraph.githubassets.com/d06ca9fc1730d9116a0c91c844c99bc143903692f02ecd5256e3fd389c305c19/python/cpython
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d06ca9fc1730d9116a0c91c844c99bc143903692f02ecd5256e3fd389c305c19/python/cpython
og:image:altThe Python programming language. Contribute to python/cpython development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/124872#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F124872
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F124872
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/124872
Reloadhttps://github.com/python/cpython/issues/124872
Reloadhttps://github.com/python/cpython/issues/124872
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/124872
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/124872
Replace context enter and exit events with single "context switched" eventhttps://github.com/python/cpython/issues/124872#top
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/rhansen
rhansenhttps://github.com/rhansen
on Oct 1, 2024https://github.com/python/cpython/issues/124872#issue-2560358723
#99633 (comment)https://github.com/python/cpython/issues/99633#issuecomment-2380302948
cpython/Include/cpython/context.hhttps://github.com/python/cpython/blob/120729d862f0ef9979508899f7f63a9f3d9623cb/Include/cpython/context.h#L30-L60
120729dhttps://github.com/python/cpython/commit/120729d862f0ef9979508899f7f63a9f3d9623cb
gh-119333https://github.com/python/cpython/issues/119333
changes proposed for gh-99633https://github.com/python/cpython/issues/99633#issuecomment-2377915344
gh-99633https://github.com/python/cpython/issues/99633
YAGNIhttps://en.wikipedia.org/wiki/You_aren't_gonna_need_it
#99633 (comment)https://github.com/python/cpython/issues/99633#issuecomment-2380302948
gh-124872: Move PyThreadState to first argument for consistency #124774https://github.com/python/cpython/pull/124774
gh-124872: Refine contextvars documentation #124773https://github.com/python/cpython/pull/124773
gh-124872: Back up exception before calling PyContext_WatchCallback #124741https://github.com/python/cpython/pull/124741
gh-124872: Change PyContext_WatchCallback to take PyObject #124737https://github.com/python/cpython/pull/124737
gh-124872: Replace enter/exit events with "switched" #124776https://github.com/python/cpython/pull/124776
[3.13] gh-124872: Refine contextvars documentation (GH-124773) #125233https://github.com/python/cpython/pull/125233
gh-124872: Rename blurb file to reference the correct issue #125285https://github.com/python/cpython/pull/125285
gh-124872: Replace enter/exit events with "switched" #125532https://github.com/python/cpython/pull/125532
gh-124872: Mark the thread's default context as entered #125638https://github.com/python/cpython/pull/125638
Nexthttps://github.com/python/cpython/issues/124872?timeline_page=1
rhansenhttps://github.com/rhansen
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Oct 1, 2024https://github.com/python/cpython/issues/124872#event-14480499493
rhansenhttps://github.com/rhansen
on Oct 1, 2024https://github.com/python/cpython/issues/124872#event-14480597923
pythongh-124872: Replace enter/exit events with "switched"https://github.com/rhansen/cpython/commit/7606b6792bb3458e58f3f5b9dac7f2cba0c93f4f
pythongh-124872https://github.com/python/cpython/issues/124872
7606b67https://github.com/rhansen/cpython/commit/7606b6792bb3458e58f3f5b9dac7f2cba0c93f4f
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2387310456
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#event-14484373941
pythongh-124872: Replace enter/exit events with "switched"https://github.com/rhansen/cpython/commit/9665ab66844cc83113f3ea6703d5bf7fbfb3e9bf
pythongh-124872https://github.com/python/cpython/issues/124872
9665ab6https://github.com/rhansen/cpython/commit/9665ab66844cc83113f3ea6703d5bf7fbfb3e9bf
https://github.com/rhansen
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2387888748
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2388369337
https://github.com/rhansen
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389742743
Python Developer's Guidehttps://devguide.python.org/getting-started/pull-request-lifecycle/#making-good-commits
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#event-14495709875
pythongh-124872: Replace enter/exit events with "switched"https://github.com/rhansen/cpython/commit/e68cb7fb4fd7b37a9db18a2fe9da45f14f639355
pythongh-124872https://github.com/python/cpython/issues/124872
e68cb7fhttps://github.com/rhansen/cpython/commit/e68cb7fb4fd7b37a9db18a2fe9da45f14f639355
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389768427
#124774https://github.com/python/cpython/pull/124774
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#event-14495818091
pythongh-124872: Replace enter/exit events with "switched"https://github.com/rhansen/cpython/commit/d04d9c01e06e33069e68dab93d8daaf78af7806c
pythongh-124872https://github.com/python/cpython/issues/124872
d04d9c0https://github.com/rhansen/cpython/commit/d04d9c01e06e33069e68dab93d8daaf78af7806c
https://github.com/rhansen
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389976487
#124774https://github.com/python/cpython/pull/124774
semi-linear historyhttps://github.com/orgs/community/discussions/8940
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389978404
https://github.com/rhansen
rhansenhttps://github.com/rhansen
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389986817
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Oct 2, 2024https://github.com/python/cpython/issues/124872#issuecomment-2389989032
rhansenhttps://github.com/rhansen
on Oct 7, 2024https://github.com/python/cpython/issues/124872#event-14547952427
pythongh-124872: Replace enter/exit events with "switched"https://github.com/rhansen/cpython/commit/3dffa6c9e45e996cfc375286cb966d4edcb3daae
pythongh-124872https://github.com/python/cpython/issues/124872
3dffa6chttps://github.com/rhansen/cpython/commit/3dffa6c9e45e996cfc375286cb966d4edcb3daae
rhansenhttps://github.com/rhansen
on Oct 16, 2024https://github.com/python/cpython/issues/124872#event-14690291591
pythongh-124872: Mark the thread's initial context as enteredhttps://github.com/rhansen/cpython/commit/81d2a0dcffb642fbd88fe037851018763dab04d0
pythongh-124872https://github.com/python/cpython/issues/124872
81d2a0dhttps://github.com/rhansen/cpython/commit/81d2a0dcffb642fbd88fe037851018763dab04d0
pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/1726539495636d1a8408a49487ca8ea56b6da952
pythongh-124872https://github.com/python/cpython/issues/124872
1726539https://github.com/rhansen/cpython/commit/1726539495636d1a8408a49487ca8ea56b6da952
pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/1804c68e837436f8583417bd106137278b542180
pythongh-124872https://github.com/python/cpython/issues/124872
1804c68https://github.com/rhansen/cpython/commit/1804c68e837436f8583417bd106137278b542180
pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/11c4709e84387ccd50829cb67565eb06a5bef806
pythongh-124872https://github.com/python/cpython/issues/124872
11c4709https://github.com/rhansen/cpython/commit/11c4709e84387ccd50829cb67565eb06a5bef806
pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/ea4668590a4509563f79e7a1c147ec6b2adb3fc5
pythongh-124872https://github.com/python/cpython/issues/124872
ea46685https://github.com/rhansen/cpython/commit/ea4668590a4509563f79e7a1c147ec6b2adb3fc5
pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/5337fc30ede3618e15cbbf990c1982b9764c8357
pythongh-124872https://github.com/python/cpython/issues/124872
5337fc3https://github.com/rhansen/cpython/commit/5337fc30ede3618e15cbbf990c1982b9764c8357
willingchttps://github.com/willingc
on Oct 30, 2024https://github.com/python/cpython/issues/124872#event-15017944288
Merge branch '3.13' into pythongh-124872-docshttps://github.com/rhansen/cpython/commit/8f849980ad05998a3eee84853e94225115f11381
pythongh-124872https://github.com/python/cpython/issues/124872
8f84998https://github.com/rhansen/cpython/commit/8f849980ad05998a3eee84853e94225115f11381
[3.13] gh-124872: Refine contextvars documentation (GH-124773) (#125233)https://github.com/python/cpython/commit/2db2b5ea9cc689644bc7bc93f27a3e154228848a
gh-124872https://github.com/python/cpython/issues/124872
GH-124773https://github.com/python/cpython/pull/124773
#125233https://github.com/python/cpython/pull/125233
2db2b5ehttps://github.com/python/cpython/commit/2db2b5ea9cc689644bc7bc93f27a3e154228848a
rhansenhttps://github.com/rhansen
on Nov 7, 2024https://github.com/python/cpython/issues/124872#event-15172964834
Merge branch 'main' into pythongh-124872-enter-initialhttps://github.com/rhansen/cpython/commit/4f4ba35b099ae13cc698c72de383d81a6bee5a12
pythongh-124872https://github.com/python/cpython/issues/124872
4f4ba35https://github.com/rhansen/cpython/commit/4f4ba35b099ae13cc698c72de383d81a6bee5a12
fixup! pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/4690ea6fda561a75b9f3f8ae5d90aa60bcc3b37e
pythongh-124872https://github.com/python/cpython/issues/124872
4690ea6https://github.com/rhansen/cpython/commit/4690ea6fda561a75b9f3f8ae5d90aa60bcc3b37e
fixup! pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/748f3eb5c349fe32d386b8ebabd29f16918e9df2
pythongh-124872https://github.com/python/cpython/issues/124872
748f3ebhttps://github.com/rhansen/cpython/commit/748f3eb5c349fe32d386b8ebabd29f16918e9df2
fixup! pythongh-124872: Mark the thread's default context as enteredhttps://github.com/rhansen/cpython/commit/756d837ee5c667a2d87ba78e0c752d930717b56d
pythongh-124872https://github.com/python/cpython/issues/124872
756d837https://github.com/rhansen/cpython/commit/756d837ee5c667a2d87ba78e0c752d930717b56d
rhansenhttps://github.com/rhansen
on Nov 23, 2024https://github.com/python/cpython/issues/124872#event-15405432600
fixup! pythongh-124872: Change PyContext_WatchCallback return type to…https://github.com/rhansen/cpython/commit/f177ad375ccfed19210222dbc0756eaea56c8511
pythongh-124872https://github.com/python/cpython/issues/124872
f177ad3https://github.com/rhansen/cpython/commit/f177ad375ccfed19210222dbc0756eaea56c8511
fixup! pythongh-124872: Change PyContext_WatchCallback return type to…https://github.com/rhansen/cpython/commit/f6562b15cf9f074e8876a5afc6492eb8f41ddf6d
pythongh-124872https://github.com/python/cpython/issues/124872
f6562b1https://github.com/rhansen/cpython/commit/f6562b15cf9f074e8876a5afc6492eb8f41ddf6d
ebonnalhttps://github.com/ebonnal
on Jan 12, 2025https://github.com/python/cpython/issues/124872#event-15894557727
pythongh-124872: Replace enter/exit events with "switched" (python#12…https://github.com/ebonnal/cpython/commit/077ed71bd23529bc64f12d5f4437f7b4a416e2b3
pythongh-124872https://github.com/python/cpython/issues/124872
python#12…https://github.com/python/cpython/pull/125532
077ed71https://github.com/ebonnal/cpython/commit/077ed71bd23529bc64f12d5f4437f7b4a416e2b3
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/124872
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/124872
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.