Title: When output does not end with '\n', the output text will always stay before '>>> ' · Issue #1050 · bpython/bpython · GitHub
Open Graph Title: When output does not end with '\n', the output text will always stay before '>>> ' · Issue #1050 · bpython/bpython
X Title: When output does not end with '\n', the output text will always stay before '>>> ' · Issue #1050 · bpython/bpython
Description: Reproducible code: print("Hello!", end='') Python running result: >>> print("Hello!", end='') Hello!>>> >>> >>> We will find that after pressing Enter several times, the previous output text will not stay in front of the '>>> ', but in B...
Open Graph Description: Reproducible code: print("Hello!", end='') Python running result: >>> print("Hello!", end='') Hello!>>> >>> >>> We will find that after pressing Enter several times, the previous output text will n...
X Description: Reproducible code: print("Hello!", end='') Python running result: >>> print("Hello!", end='') Hello!>>> >>> >>> We will find ...
Opengraph URL: https://github.com/bpython/bpython/issues/1050
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When output does not end with '\\n', the output text will always stay before '>>> '","articleBody":"Reproducible code:\n```python\nprint(\"Hello!\", end='')\n```\nPython running result:\n```plaintext\n>>> print(\"Hello!\", end='')\nHello!>>> \n>>> \n>>> \n```\nWe will find that after pressing Enter several times, the previous output text will not stay in front of the '>>> ', \nbut in Bpython, do the same thing:\n```plaintext\n>>> print(\"Hello!\", end='')\n>>> \n>>> \nHello!>>> \n```\nWe wil find that the previous output will always stay in front of '>>> ', although we can use `print()` for printing a newline clear the leftover 'hello'.","author":{"url":"https://github.com/XiJet-Gary","@type":"Person","name":"XiJet-Gary"},"datePublished":"2026-04-02T12:21:20Z","url":"https://github.com/bpython/bpython/issues/1050"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1bcb714e-1509-f48d-5838-8ba5d81f9bad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8802:AFBD9:15A16DF:1C929BF:6B01FDB2 |
| html-safe-nonce | 7805fee5e7ecd9f27239150aaac9d63025543d15be697e660f6c6245f25f8f02 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODAyOkFGQkQ5OjE1QTE2REY6MUM5MjlCRjo2QjAxRkRCMiIsInZpc2l0b3JfaWQiOiI1ODgwMzQ3ODM5NjY1NjY3NTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a455ed56b6138addec7df78e6b9c40ceb5ee5c225c9f5a9d11a2a8a991c9354b |
| hovercard-subject-tag | issue:4194229725 |
| 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/bpython/bpython/1050/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8bdc38c339cf5bc60536ce6ea228aee6153f4494dc9c15338ca63ccebf4ff40/bpython/bpython/issues/1050 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8bdc38c339cf5bc60536ce6ea228aee6153f4494dc9c15338ca63ccebf4ff40/bpython/bpython/issues/1050 |
| og:image:alt | Reproducible code: print("Hello!", end='') Python running result: >>> print("Hello!", end='') Hello!>>> >>> >>> We will find that after pressing Enter several times, the previous output text will n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | XiJet-Gary |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width