René's URL Explorer Experiment


Title: test_cmd fails if build with editline not readline · Issue #150922 · python/cpython · GitHub

Open Graph Title: test_cmd fails if build with editline not readline · Issue #150922 · python/cpython

X Title: test_cmd fails if build with editline not readline · Issue #150922 · python/cpython

Description: Bug report Bug description: If I build cpython 3.14.5 with libedit 20260512-3.1 on Linux instead of GNU readline, test_cmd fails: FAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestReadline.test_bang_completion_without_do_...

Open Graph Description: Bug report Bug description: If I build cpython 3.14.5 with libedit 20260512-3.1 on Linux instead of GNU readline, test_cmd fails: FAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestR...

X Description: Bug report Bug description: If I build cpython 3.14.5 with libedit 20260512-3.1 on Linux instead of GNU readline, test_cmd fails: FAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestR...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_cmd fails if build with editline not readline","articleBody":"# Bug report\n\n### Bug description:\n\nIf I build cpython 3.14.5 with libedit 20260512-3.1 on Linux instead of GNU readline, test_cmd fails:\n```\nFAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestReadline.test_bang_completion_without_do_shell) (input=b'! h\\t\\n')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/lib/python3.14/test/test_cmd.py\", line 319, in test_bang_completion_without_do_shell\n    self.assertIn(b'hello', output)\n    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\nAssertionError: b'hello' not found in bytearray(b'! h\\t\\r\\n(Cmd) ! h\\x07\\r\\x1b[9Cello\\r\\ntab completion success\\r\\n')\n\n======================================================================\nFAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestReadline.test_bang_completion_without_do_shell) (input=b'!h\\t\\n')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/lib/python3.14/test/test_cmd.py\", line 319, in test_bang_completion_without_do_shell\n    self.assertIn(b'hello', output)\n    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\nAssertionError: b'hello' not found in bytearray(b'!h\\t\\r\\n(Cmd) !h\\x07\\r\\x1b[8Cello\\r\\ntab completion success\\r\\n')\n```\n\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-156623\n* gh-157155\n* gh-157156\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/rossburton","@type":"Person","name":"rossburton"},"datePublished":"2026-06-04T13:41:32Z","url":"https://github.com/python/cpython/issues/150922"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:68e9961b-9ff5-9bdc-f56f-6286b4119aac
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id94D8:E9D16:2F59573:3C1D022:6B01F7A0
html-safe-nonce2044fb776728165cbf7561dbe4f92028df95b864fc66e89f1c28e7df35895050
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEQ4OkU5RDE2OjJGNTk1NzM6M0MxRDAyMjo2QjAxRjdBMCIsInZpc2l0b3JfaWQiOiI0MDEyMjA1OTMxMTM0ODQyNzg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac716ab8b0a39d4c441a36ddf4f030ccac65de3a3875e0b651bdcbc7bfca291ec4
hovercard-subject-tagissue:4589187463
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/150922/issue_layout
twitter:imagehttps://opengraph.githubassets.com/34dd88c88830216a4564c437ed7210ed4c772ce81deddd8e09f4a7189f430705/python/cpython/issues/150922
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/34dd88c88830216a4564c437ed7210ed4c772ce81deddd8e09f4a7189f430705/python/cpython/issues/150922
og:image:altBug report Bug description: If I build cpython 3.14.5 with libedit 20260512-3.1 on Linux instead of GNU readline, test_cmd fails: FAIL: test_bang_completion_without_do_shell (test.test_cmd.CmdTestR...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerossburton
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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/150922#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F150922
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%2F150922
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/150922
Reloadhttps://github.com/python/cpython/issues/150922
Reloadhttps://github.com/python/cpython/issues/150922
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/150922
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/150922
#156623https://github.com/python/cpython/pull/156623
test_cmd fails if build with editline not readlinehttps://github.com/python/cpython/issues/150922#top
#156623https://github.com/python/cpython/pull/156623
https://github.com/gpshead
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/rossburton
rossburtonhttps://github.com/rossburton
on Jun 4, 2026https://github.com/python/cpython/issues/150922#issue-4589187463
gh-150922: Fix test_cmd libedit assertion in test_bang_completion_without_do_shell #156623https://github.com/python/cpython/pull/156623
[3.15] gh-150922: Fix test_cmd libedit assertion in test_bang_completion_without_do_shell (GH-156623) #157155https://github.com/python/cpython/pull/157155
[3.14] gh-150922: Fix test_cmd libedit assertion in test_bang_completion_without_do_shell (GH-156623) #157156https://github.com/python/cpython/pull/157156
rossburtonhttps://github.com/rossburton
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jun 4, 2026https://github.com/python/cpython/issues/150922#event-26339656664
picnixzhttps://github.com/picnixz
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
on Jun 4, 2026https://github.com/python/cpython/issues/150922#event-26357161320
https://github.com/zainnadeem786
zainnadeem786https://github.com/zainnadeem786
on Jun 28, 2026https://github.com/python/cpython/issues/150922#issuecomment-4826696181
gpsheadhttps://github.com/gpshead
on Sep 8, 2026https://github.com/python/cpython/issues/150922#event-30727794004
gpsheadhttps://github.com/gpshead
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#156623https://github.com/python/cpython/pull/156623
on Sep 8, 2026https://github.com/python/cpython/issues/150922#event-30727796225
gpsheadhttps://github.com/gpshead
on Sep 8, 2026https://github.com/python/cpython/issues/150922#event-30727796443
gh-150922: Fix test_cmd libedit assertion in test_bang_completion_wit…https://github.com/python/cpython/commit/0b4c7da5c401154af7b7cb89a6467365cadc2653
gh-150922https://github.com/python/cpython/issues/150922
0b4c7dahttps://github.com/python/cpython/commit/0b4c7da5c401154af7b7cb89a6467365cadc2653
[3.14] gh-150922: Fix test_cmd libedit assertion in test_bang_complet…https://github.com/python/cpython/commit/eb382a3ceb1403afba42157eae33c73e486ca595
gh-150922https://github.com/python/cpython/issues/150922
eb382a3https://github.com/python/cpython/commit/eb382a3ceb1403afba42157eae33c73e486ca595
clin1234https://github.com/clin1234
on Sep 12, 2026https://github.com/python/cpython/issues/150922#event-31023918989
pythongh-150922: Fix test_cmd libedit assertion in test_bang_completi…https://github.com/clin1234/cpython/commit/9692e1d252346336befbc8fedc2b28a2c1b509af
pythongh-150922https://github.com/python/cpython/issues/150922
9692e1dhttps://github.com/clin1234/cpython/commit/9692e1d252346336befbc8fedc2b28a2c1b509af
johnslavikhttps://github.com/johnslavik
on Sep 14, 2026https://github.com/python/cpython/issues/150922#event-31099049722
pythongh-150922: Fix test_cmd libedit assertion in test_bang_completi…https://github.com/johnslavik/cpython/commit/46c2697f384b5b2fafeaf6dbab7aa8773ddc1148
pythongh-150922https://github.com/python/cpython/issues/150922
46c2697https://github.com/johnslavik/cpython/commit/46c2697f384b5b2fafeaf6dbab7aa8773ddc1148
serhiy-storchakahttps://github.com/serhiy-storchaka
on Oct 10, 2026https://github.com/python/cpython/issues/150922#event-32937030881
[3.15] gh-150922: Fix test_cmd libedit assertion in test_bang_complet…https://github.com/python/cpython/commit/ff3b98c2846f2c4cd4401a25c92fa97a85a1533d
gh-150922https://github.com/python/cpython/issues/150922
ff3b98chttps://github.com/python/cpython/commit/ff3b98c2846f2c4cd4401a25c92fa97a85a1533d
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/150922
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/150922
gpsheadhttps://github.com/gpshead
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%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.