Title: New Python REPL double-prints completion suggestions · Issue #127073 · python/cpython · GitHub
Open Graph Title: New Python REPL double-prints completion suggestions · Issue #127073 · python/cpython
X Title: New Python REPL double-prints completion suggestions · Issue #127073 · python/cpython
Description: Bug report Bug description: If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as long as new keyboard interrupts are given...
Open Graph Description: Bug report Bug description: If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as l...
X Description: Bug report Bug description: If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as l...
Opengraph URL: https://github.com/python/cpython/issues/127073
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New Python REPL double-prints completion suggestions","articleBody":"# Bug report\n\n### Bug description:\n\nIf a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as long as new keyboard interrupts are given.\n\nafter the keystrokes `int.\u003cTAB\u003e\u003cTAB\u003e`\n```python\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e int.\n```\nthen `\u003cCTRL-C\u003e`\n```python \nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e int.\nKeyboardInterrupt\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e\n```\n\nanother `\u003cCTRL-C\u003e`\n```python\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e int.\nKeyboardInterrupt\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e\nKeyboardInterrupt\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e\n```\n\n`\u003cENTER\u003e` makes the last set of printed suggestions disappear, as does typing any printing characters.\n```python\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e int.\nKeyboardInterrupt\nint.as_integer_ratio( int.bit_length( int.denominator int.imag int.mro() int.real\nint.bit_count( int.conjugate( int.from_bytes( int.is_integer( int.numerator int.to_bytes(\n\u003e\u003e\u003e\nKeyboardInterrupt\n\u003e\u003e\u003e\n\u003e\u003e\u003e\n```\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128442\n* gh-128467\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ucodery","@type":"Person","name":"ucodery"},"datePublished":"2024-11-20T19:43:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/127073/cpython/issues/127073"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5b982dd1-0c31-5f8d-7fa5-a04665d27a9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8390:1B78C0:59BDF:76232:696B5A5E |
| html-safe-nonce | dbc4be2bb48ea711ab4b66782ee7f245d81a8a3c100d763cf8a721cda5381687 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzkwOjFCNzhDMDo1OUJERjo3NjIzMjo2OTZCNUE1RSIsInZpc2l0b3JfaWQiOiI3MTUwNTIxMTEzOTA4MDQyMzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 74478e58a4140b0d8960509dc1bf5bcb014a6bba87ae284667e9ccf72b954126 |
| hovercard-subject-tag | issue:2676997006 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/127073/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b224a2aa6a6e96ca8ec8df602920bb4264ac789a7d9670f03f68c052a3c0c581/python/cpython/issues/127073 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b224a2aa6a6e96ca8ec8df602920bb4264ac789a7d9670f03f68c052a3c0c581/python/cpython/issues/127073 |
| og:image:alt | Bug report Bug description: If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ucodery |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width