René's URL Explorer Experiment


Title: gh-122622: Add PyREPL simple_interact.statement_submitted_hook by edvilme · Pull Request #157241 · python/cpython · GitHub

Open Graph Title: gh-122622: Add PyREPL simple_interact.statement_submitted_hook by edvilme · Pull Request #157241 · python/cpython

X Title: gh-122622: Add PyREPL simple_interact.statement_submitted_hook by edvilme · Pull Request #157241 · python/cpython

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

Open Graph Description: Supersedes #144724 Adds a statement_submitted_hook hook to _pyrepl.simple_interact that gets triggered after the user has submitted a statement (not necessarily a line) but before it is executed. R...

X Description: Supersedes #144724 Adds a statement_submitted_hook hook to _pyrepl.simple_interact that gets triggered after the user has submitted a statement (not necessarily a line) but before it is executed. R...

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

X: @github

direct link

Domain: github.com

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e7a6ec5a-2337-227d-bc1f-03e5505b4c0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD59A:1B5B73:B3FE87:103D178:6AFDA75D
html-safe-nonce5cac9a6bb67784c581278ebb4c476ff0730fc57fb639f595cb910531d467d32e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTlBOjFCNUI3MzpCM0ZFODc6MTAzRDE3ODo2QUZEQTc1RCIsInZpc2l0b3JfaWQiOiIxOTkxNDE2MjQyMDQ0MjQ5OTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac941e4a8b1c6706fdebbd37752ef1012885ac44dcffd09ab51fc9544c9b098f3f
hovercard-subject-tagpull_request:4490193277
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/157241/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a6e80ad51e5b16e448f93da6d411e79f161523094be1c88d80b4cc19e80059fd/python/cpython/pull/157241
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6e80ad51e5b16e448f93da6d411e79f161523094be1c88d80b4cc19e80059fd/python/cpython/pull/157241
og:image:altSupersedes #144724 Adds a statement_submitted_hook hook to _pyrepl.simple_interact that gets triggered after the user has submitted a statement (not necessarily a line) but before it is executed. R...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameedvilme
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
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
release0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/157241#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157241
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%2Fpull%2F157241
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/157241
Reloadhttps://github.com/python/cpython/pull/157241
Reloadhttps://github.com/python/cpython/pull/157241
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
edvilmehttps://github.com/edvilme
python:mainhttps://github.com/python/cpython/tree/main
edvilme:pyrepl-hookhttps://github.com/edvilme/cpython/tree/pyrepl-hook
Conversationhttps://github.com/python/cpython/pull/157241
Commits27 (27)https://github.com/python/cpython/pull/157241/commits
Checkshttps://github.com/python/cpython/pull/157241/checks
Files changedhttps://github.com/python/cpython/pull/157241/files
gh-122622: Add PyREPL simple_interact.statement_submitted_hook https://github.com/python/cpython/pull/157241#top
edvilmehttps://github.com/edvilme
python:mainhttps://github.com/python/cpython/tree/main
edvilme:pyrepl-hookhttps://github.com/edvilme/cpython/tree/pyrepl-hook
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Sep 9, 2026https://github.com/python/cpython/pull/157241#issue-5405696170
Please reload this pagehttps://github.com/python/cpython/pull/157241
#144724https://github.com/python/cpython/pull/144724
custom escape sequenceshttps://code.visualstudio.com/docs/terminal/shell-integration#_supported-escape-sequences
https://private-user-images.githubusercontent.com/5952839/656019549-fe98e015-603e-4309-9cd7-20e250e71d31.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUwMDg2NTAsIm5iZiI6MTc5NTAwODM1MCwicGF0aCI6Ii81OTUyODM5LzY1NjAxOTU0OS1mZTk4ZTAxNS02MDNlLTQzMDktOWNkNy0yMGUyNTBlNzFkMzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMThUMTMyNTUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTM2Y2JkMGM1NWMwMDVjZmFjYTU3NjkyM2MxMDUwYmM5ZTY1MzgxYzc0MTc3OTRlMWMyOWU1ZTNjYjk3YjM1NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.AOGWPloz2e-_R6cJenj9mQwqEKMsxWbkYbh5m2fi9b8
https://private-user-images.githubusercontent.com/5952839/656078477-0709d437-bf23-4f8a-9661-7056ba2e5a7f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUwMDg2NTAsIm5iZiI6MTc5NTAwODM1MCwicGF0aCI6Ii81OTUyODM5LzY1NjA3ODQ3Ny0wNzA5ZDQzNy1iZjIzLTRmOGEtOTY2MS03MDU2YmEyZTVhN2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMThUMTMyNTUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2VkNjU2NjUxZDcxOGE5MDA3MWZlZWI1NzU1MTUxZjcyMmMxNzhlNTQ0ZjljZTI3Y2EzMjBmMzc3YWQxYjFjNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.yg2NsvdQotCpADfFS9wP7JpdP1KUgYKI3KnENUd7iGg
Preexec hook for REPL #122622https://github.com/python/cpython/issues/122622
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
September 9, 2026 14:34https://github.com/python/cpython/pull/157241#commits-pushed-4c18d3b
https://github.com/edvilme
https://github.com/anthonykim1
pythongh-122622https://github.com/python/cpython/issues/122622
: Add PyREPL pre-execution hookhttps://github.com/python/cpython/pull/157241/commits/4c18d3bdc20fa2cebe82e74bd025917196f5aad4
4c18d3bhttps://github.com/python/cpython/pull/157241/commits/4c18d3bdc20fa2cebe82e74bd025917196f5aad4
https://github.com/edvilme
Add empty pre_execution_hook for feature detectionhttps://github.com/python/cpython/pull/157241/commits/b988e6f700cea2b922789924e838780e20d9e3f5
b988e6fhttps://github.com/python/cpython/pull/157241/commits/b988e6f700cea2b922789924e838780e20d9e3f5
https://github.com/edvilme
Update tests to verify no interferencehttps://github.com/python/cpython/pull/157241/commits/7d9ddbfe93b02e0e82b4f8a3aa5e5d2a7ba1108e
7d9ddbfhttps://github.com/python/cpython/pull/157241/commits/7d9ddbfe93b02e0e82b4f8a3aa5e5d2a7ba1108e
https://github.com/edvilme
edvilmehttps://github.com/edvilme
ambvhttps://github.com/ambv
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/939865532c00e25842209f56953abe0361ab22a1/.github/CODEOWNERS#L553
September 9, 2026 23:12https://github.com/python/cpython/pull/157241#event-30864507447
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 9, 2026 https://github.com/python/cpython/pull/157241#ref-issue-2445266510
Preexec hook for REPL #122622 https://github.com/python/cpython/issues/122622
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 9, 2026https://github.com/python/cpython/pull/157241#event-30864512409
blurb-ithttps://github.com/apps/blurb-it
September 9, 2026 23:15https://github.com/python/cpython/pull/157241#commits-pushed-ad17396
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/157241/commits/ad17396240c154f653fb791696bd507d6efa6f75
ad17396https://github.com/python/cpython/pull/157241/commits/ad17396240c154f653fb791696bd507d6efa6f75
https://github.com/edvilme
Update NEWShttps://github.com/python/cpython/pull/157241/commits/0ef602cf42bee64714b25d8534e298fbccc2f72e
0ef602chttps://github.com/python/cpython/pull/157241/commits/0ef602cf42bee64714b25d8534e298fbccc2f72e
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
September 17, 2026 21:15https://github.com/python/cpython/pull/157241#event-31350375230
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Sep 17, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5241601036
View reviewed changes https://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e
Lib/_pyrepl/__init__.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-912d1f70b67c06c6b206b1b5eaaf6c38d4cbdffa3291388deeb23e17b3ec3f23
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 17, 2026https://github.com/python/cpython/pull/157241#event-31351310409
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 17, 2026https://github.com/python/cpython/pull/157241#issuecomment-5721562610
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Sep 17, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5241740135
View reviewed changes https://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/0ef602cf42bee64714b25d8534e298fbccc2f72e#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
September 18, 2026 13:27https://github.com/python/cpython/pull/157241#commits-pushed-8ede9b2
https://github.com/edvilme
Address feedbackhttps://github.com/python/cpython/pull/157241/commits/8ede9b25b7a87032e155f4c30c3bda7beebfaa78
8ede9b2https://github.com/python/cpython/pull/157241/commits/8ede9b25b7a87032e155f4c30c3bda7beebfaa78
https://github.com/edvilme
Address feedbackhttps://github.com/python/cpython/pull/157241/commits/6d7dfe0f41bd65765d02af68a39134569430920d
6d7dfe0https://github.com/python/cpython/pull/157241/commits/6d7dfe0f41bd65765d02af68a39134569430920d
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Sep 19, 2026https://github.com/python/cpython/pull/157241#event-31427990538
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Sep 19, 2026https://github.com/python/cpython/pull/157241#issuecomment-5738208190
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Sep 19, 2026https://github.com/python/cpython/pull/157241#event-31428751149
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 19, 2026https://github.com/python/cpython/pull/157241#issuecomment-5738208933
@brettcannonhttps://github.com/brettcannon
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
brettcannonhttps://github.com/brettcannon
September 19, 2026 01:20https://github.com/python/cpython/pull/157241#event-31428752417
edvilmehttps://github.com/edvilme
September 18, 2026 18:29https://github.com/python/cpython/pull/157241#commits-pushed-d45c1d3
https://github.com/edvilme
Merge branch 'main' into pyrepl-hookhttps://github.com/python/cpython/pull/157241/commits/d45c1d37cffed694545490f57e060cc1d9c60a8d
d45c1d3https://github.com/python/cpython/pull/157241/commits/d45c1d37cffed694545490f57e060cc1d9c60a8d
https://github.com/edvilme
Show tracebakcshttps://github.com/python/cpython/pull/157241/commits/e1186d5a306f956036e6a654477f5990d3dd39f0
e1186d5https://github.com/python/cpython/pull/157241/commits/e1186d5a306f956036e6a654477f5990d3dd39f0
https://github.com/edvilme
Add tests to make sure hook runs before exceptionhttps://github.com/python/cpython/pull/157241/commits/f615af20aaf30907002b962ec1591b1ba0b993e9
f615af2https://github.com/python/cpython/pull/157241/commits/f615af20aaf30907002b962ec1591b1ba0b993e9
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 1, 2026https://github.com/python/cpython/pull/157241#event-32290547392
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
topic-repl https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-repl
Oct 1, 2026https://github.com/python/cpython/pull/157241#event-32290591703
https://github.com/edvilme
Update commenthttps://github.com/python/cpython/pull/157241/commits/f766b486a70b7243b5ac52fbdd4388fe27d18134
f766b48https://github.com/python/cpython/pull/157241/commits/f766b486a70b7243b5ac52fbdd4388fe27d18134
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Oct 13, 2026https://github.com/python/cpython/pull/157241#event-33174976052
edvilmehttps://github.com/edvilme
October 13, 2026 14:51https://github.com/python/cpython/pull/157241#commits-pushed-a81c71a
https://github.com/edvilme
Fix incorrect commenthttps://github.com/python/cpython/pull/157241/commits/a81c71abe41d0c79cd8479497f87acf3d16b1b95
a81c71ahttps://github.com/python/cpython/pull/157241/commits/a81c71abe41d0c79cd8479497f87acf3d16b1b95
https://github.com/edvilme
https://github.com/apps/github-copilot-cli
Merge branch 'main' into pyrepl-hookhttps://github.com/python/cpython/pull/157241/commits/a98d37a4c31b7b84cca09c9ed07a8d2a75a42c6b
a98d37ahttps://github.com/python/cpython/pull/157241/commits/a98d37a4c31b7b84cca09c9ed07a8d2a75a42c6b
https://github.com/edvilme
edvilmehttps://github.com/edvilme
force-pushedhttps://github.com/python/cpython/compare/b5f84b17d1305f526bee3add633def56298e2c47..a98d37a4c31b7b84cca09c9ed07a8d2a75a42c6b
b5f84b1https://github.com/python/cpython/commit/b5f84b17d1305f526bee3add633def56298e2c47
a98d37ahttps://github.com/python/cpython/commit/a98d37a4c31b7b84cca09c9ed07a8d2a75a42c6b
Compare https://github.com/python/cpython/compare/b5f84b17d1305f526bee3add633def56298e2c47..a98d37a4c31b7b84cca09c9ed07a8d2a75a42c6b
October 28, 2026 20:57https://github.com/python/cpython/pull/157241#event-34519647895
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Oct 29, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5705227424
View reviewed changes https://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Oct 29, 2026https://github.com/python/cpython/pull/157241#event-34634508321
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Oct 29, 2026https://github.com/python/cpython/pull/157241#issuecomment-6508798283
@pablogsalhttps://github.com/pablogsal
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/brettcannon
Merge branch 'main' into pyrepl-hookhttps://github.com/python/cpython/pull/157241/commits/d948c288cda3cdf37780a29211ac7b5c8cab3176
d948c28https://github.com/python/cpython/pull/157241/commits/d948c288cda3cdf37780a29211ac7b5c8cab3176
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Oct 31, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5719954274
View reviewed changes https://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176
johnslavikhttps://github.com/johnslavik
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/python/cpython/pull/157241#pullrequestreview-5719954274
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/test/test_pyrepl/test_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/test/test_pyrepl/test_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
johnslavikhttps://github.com/johnslavik
Oct 31, 2026https://github.com/python/cpython/pull/157241#discussion_r4429475322
Please reload this pagehttps://github.com/python/cpython/pull/157241
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Lib/test/test_pyrepl/test_pyrepl.pyhttps://github.com/python/cpython/blob/d948c288cda3cdf37780a29211ac7b5c8cab3176/Lib/test/test_pyrepl/test_pyrepl.py#L2482-L2492
d948c28https://github.com/python/cpython/commit/d948c288cda3cdf37780a29211ac7b5c8cab3176
Please reload this pagehttps://github.com/python/cpython/pull/157241
pablogsalhttps://github.com/pablogsal
Oct 31, 2026https://github.com/python/cpython/pull/157241#discussion_r4431591854
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
Nov 3, 2026https://github.com/python/cpython/pull/157241#discussion_r4461096692
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
e28071a0a0ahttps://github.com/python/cpython/commit/e28071a0a0aa97f909a219daa94acfa3c4532d8d
b7e9986fc46https://github.com/python/cpython/commit/b7e9986fc46e2913a32cf2e68841214be3301ebd
Please reload this pagehttps://github.com/python/cpython/pull/157241
johnslavikhttps://github.com/johnslavik
Nov 17, 2026https://github.com/python/cpython/pull/157241#discussion_r4600962723
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
johnslavikhttps://github.com/johnslavik
Oct 31, 2026https://github.com/python/cpython/pull/157241#discussion_r4429475701
Please reload this pagehttps://github.com/python/cpython/pull/157241
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
uncomment debug() code for verbose error reportinghttps://github.com/python/cpython/blob/4a9b98115fec4d93c32c554aa541d6c3fc4c3b27/Lib/_pyrepl/reader.py#L880-L883
Please reload this pagehttps://github.com/python/cpython/pull/157241
pablogsalhttps://github.com/pablogsal
Oct 31, 2026https://github.com/python/cpython/pull/157241#discussion_r4431591766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157241
pablogsalhttps://github.com/pablogsal
Oct 31, 2026https://github.com/python/cpython/pull/157241#discussion_r4431592041
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
Nov 3, 2026https://github.com/python/cpython/pull/157241#discussion_r4461096667
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
866576906cehttps://github.com/python/cpython/commit/866576906ce742246396097772fd151fb1fd0457
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Oct 31, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5720007867
View reviewed changes https://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Oct 31, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5720116405
View reviewed changes https://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
November 3, 2026 10:46https://github.com/python/cpython/pull/157241#commits-pushed-ce55702
https://github.com/edvilme
Strip final indent from submitted hookhttps://github.com/python/cpython/pull/157241/commits/ce55702d0996be48af0215afa5252d334ffb02b4
ce55702https://github.com/python/cpython/pull/157241/commits/ce55702d0996be48af0215afa5252d334ffb02b4
https://github.com/edvilme
Show traceback as a hook failure without modifying sys.last_*https://github.com/python/cpython/pull/157241/commits/866576906ce742246396097772fd151fb1fd0457
8665769https://github.com/python/cpython/pull/157241/commits/866576906ce742246396097772fd151fb1fd0457
https://github.com/edvilme
Simplify comment to remove examplehttps://github.com/python/cpython/pull/157241/commits/b7e9986fc46e2913a32cf2e68841214be3301ebd
b7e9986https://github.com/python/cpython/pull/157241/commits/b7e9986fc46e2913a32cf2e68841214be3301ebd
https://github.com/edvilme
Add tests for KeyboardInterrupt and SystemExithttps://github.com/python/cpython/pull/157241/commits/753ed835c8c144c2e0329b5e40c0656d43051f86
753ed83https://github.com/python/cpython/pull/157241/commits/753ed835c8c144c2e0329b5e40c0656d43051f86
https://github.com/edvilme
Add test for strip indentationhttps://github.com/python/cpython/pull/157241/commits/d2a7a45156163b561c71c86393fd721c6cd29eb2
d2a7a45https://github.com/python/cpython/pull/157241/commits/d2a7a45156163b561c71c86393fd721c6cd29eb2
https://github.com/edvilme
Remove weak return value testhttps://github.com/python/cpython/pull/157241/commits/ac8d177f5c262ef1e72b4c99dbd0c46ab121682a
ac8d177https://github.com/python/cpython/pull/157241/commits/ac8d177f5c262ef1e72b4c99dbd0c46ab121682a
https://github.com/edvilme
Add PTY testhttps://github.com/python/cpython/pull/157241/commits/e28071a0a0aa97f909a219daa94acfa3c4532d8d
e28071ahttps://github.com/python/cpython/pull/157241/commits/e28071a0a0aa97f909a219daa94acfa3c4532d8d
https://github.com/edvilme
Update testshttps://github.com/python/cpython/pull/157241/commits/d6cd84868d4d70dc64f19e8d82517919842ad738
d6cd848https://github.com/python/cpython/pull/157241/commits/d6cd84868d4d70dc64f19e8d82517919842ad738
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Nov 16, 2026https://github.com/python/cpython/pull/157241#issuecomment-6930515777
@pablogsalhttps://github.com/pablogsal
@ambvhttps://github.com/ambv
@johnslavikhttps://github.com/johnslavik
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Nov 17, 2026https://github.com/python/cpython/pull/157241#issuecomment-6950868134
@edvilmehttps://github.com/edvilme
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Nov 17, 2026 https://github.com/python/cpython/pull/157241#pullrequestreview-5940491076
View reviewed changes https://github.com/python/cpython/pull/157241/files/d6cd84868d4d70dc64f19e8d82517919842ad738
Misc/NEWS.d/next/Library/2026-09-09-23-15-03.gh-issue-122622.YfSSrl.rsthttps://github.com/python/cpython/pull/157241/files/d6cd84868d4d70dc64f19e8d82517919842ad738#diff-e1e6845514acba331333f82e4de01486cd8ca3529507554af3fcc42710b334f6
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d6cd84868d4d70dc64f19e8d82517919842ad738#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Please reload this pagehttps://github.com/python/cpython/pull/157241
Lib/_pyrepl/simple_interact.pyhttps://github.com/python/cpython/pull/157241/files/d6cd84868d4d70dc64f19e8d82517919842ad738#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
johnslavikhttps://github.com/johnslavik
Nov 17, 2026https://github.com/python/cpython/pull/157241#discussion_r4601309924
Please reload this pagehttps://github.com/python/cpython/pull/157241
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sys.excepthookhttps://docs.python.org/3/library/sys.html#sys.excepthook
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/157241
edvilmehttps://github.com/edvilme
November 17, 2026 14:09https://github.com/python/cpython/pull/157241#commits-pushed-7be412f
https://github.com/edvilme
Update News entryhttps://github.com/python/cpython/pull/157241/commits/7be412f2c3a14fa029ba847c655d68fe6e098569
7be412fhttps://github.com/python/cpython/pull/157241/commits/7be412f2c3a14fa029ba847c655d68fe6e098569
https://github.com/edvilme
Do not call _strip_final_indent twicehttps://github.com/python/cpython/pull/157241/commits/0ea14cd82b9ccb2419e595d6748f21d252290122
0ea14cdhttps://github.com/python/cpython/pull/157241/commits/0ea14cd82b9ccb2419e595d6748f21d252290122
https://github.com/edvilme
Rename to input_submitted_hookhttps://github.com/python/cpython/pull/157241/commits/8ea46f3e094099cb8f3e322f608035626c4029ab
8ea46f3https://github.com/python/cpython/pull/157241/commits/8ea46f3e094099cb8f3e322f608035626c4029ab
https://github.com/edvilme
Added Exception clarification to commenthttps://github.com/python/cpython/pull/157241/commits/c385c465fa1b8a45307aeabadc5adf3248d20272
c385c46https://github.com/python/cpython/pull/157241/commits/c385c465fa1b8a45307aeabadc5adf3248d20272
https://github.com/edvilme
Merge branch 'main' into pyrepl-hookhttps://github.com/python/cpython/pull/157241/commits/9d4fe713b5156a9008801b56b21f08764fb07256
9d4fe71https://github.com/python/cpython/pull/157241/commits/9d4fe713b5156a9008801b56b21f08764fb07256
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157241
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
https://github.com/python/cpython/pull/157241/files/d6cd84868d4d70dc64f19e8d82517919842ad738
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/python/cpython/pull/157241/files/d948c288cda3cdf37780a29211ac7b5c8cab3176
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/157241
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
topic-repl https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-repl
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/157241
https://github.com/edvilme
https://github.com/brettcannon
https://github.com/johnslavik
https://github.com/pablogsal
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.