Title: Formatting fails when value-to-print is very large · Issue #607 · bpython/bpython · GitHub
Open Graph Title: Formatting fails when value-to-print is very large · Issue #607 · bpython/bpython
X Title: Formatting fails when value-to-print is very large · Issue #607 · bpython/bpython
Description: Reproduce with: Start bpython (happens in both bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3 and bpython version 0.15 on top of Python 2.7.11+ /usr/bin/python) Do something that has at least two screenfuls of output when ...
Open Graph Description: Reproduce with: Start bpython (happens in both bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3 and bpython version 0.15 on top of Python 2.7.11+ /usr/bin/python) Do something that has...
X Description: Reproduce with: Start bpython (happens in both bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3 and bpython version 0.15 on top of Python 2.7.11+ /usr/bin/python) Do something that has...
Opengraph URL: https://github.com/bpython/bpython/issues/607
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Formatting fails when value-to-print is very large","articleBody":"Reproduce with:\n- Start bpython (happens in both `bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3` and `bpython version 0.15 on top of Python 2.7.11+ /usr/bin/python`)\n- Do something that has at least _two_ screenfuls of output when printed. Example: `[\"Hello\"] * 1000`\n\nExpected result: boring stuff. Just the printed \"value\" of a list that contains a thousand \"hello\"s.\n\nActual result: The value, and then some formatting related characters that got garbled:\n\n```\n\u003e\u003e\u003e [\"Hello\"] * 1000\n['Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',\n 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',\n[... SNIP ...]\n 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',\n 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello']\u001B[-26;1H\n\u003e\u003e\u003e\n```\n\nNote the trailing `U+001B` which smells like formatting gone wrong.\n\nI'm not sure whether this is a bug in xfce4-terminal 0.6.3, bpython, bpython-curtsies, curtsies, or maybe something else entirely. However, bpython is the only program exhibiting this behavior, so I reported it here.\n","author":{"url":"https://github.com/BenWiederhake","@type":"Person","name":"BenWiederhake"},"datePublished":"2016-04-11T16:29:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/607/bpython/issues/607"}
| 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:a714f55b-6d39-e9ca-3204-25f3753ad0a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85AA:8F2D5:1792A40:21168BB:696A4892 |
| html-safe-nonce | 31efb2dc95b272092f337b14fb045585416e3212027c42770a018630161baac4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUFBOjhGMkQ1OjE3OTJBNDA6MjExNjhCQjo2OTZBNDg5MiIsInZpc2l0b3JfaWQiOiIyNzg5NTY2ODEyMjUwNTg5MzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5611d36561258c37057586fdb5d54a3353669ce0b3b588a880d73a3cd92968f4 |
| hovercard-subject-tag | issue:147482811 |
| 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/607/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45b39c58862bab9acf20166132c4506646183c65cdac86e69992bd244252161c/bpython/bpython/issues/607 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45b39c58862bab9acf20166132c4506646183c65cdac86e69992bd244252161c/bpython/bpython/issues/607 |
| og:image:alt | Reproduce with: Start bpython (happens in both bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3 and bpython version 0.15 on top of Python 2.7.11+ /usr/bin/python) Do something that has... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BenWiederhake |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width