Title: AttributeError: 'FakeOutput' object has no attribute 'encoding' · Issue #622 · bpython/bpython · GitHub
Open Graph Title: AttributeError: 'FakeOutput' object has no attribute 'encoding' · Issue #622 · bpython/bpython
X Title: AttributeError: 'FakeOutput' object has no attribute 'encoding' · Issue #622 · bpython/bpython
Description: sys.stdout.encoding gives this error. Also sys.stdin.encoding gives 'UTF8', while python gives 'UTF-8' for both cases. This commit makes bpython work (naturally stdin is still different than in standard python): bpython version 0.15 on t...
Open Graph Description: sys.stdout.encoding gives this error. Also sys.stdin.encoding gives 'UTF8', while python gives 'UTF-8' for both cases. This commit makes bpython work (naturally stdin is still different than in sta...
X Description: sys.stdout.encoding gives this error. Also sys.stdin.encoding gives 'UTF8', while python gives 'UTF-8' for both cases. This commit makes bpython work (naturally stdin is still diffe...
Opengraph URL: https://github.com/bpython/bpython/issues/622
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: 'FakeOutput' object has no attribute 'encoding'","articleBody":"`sys.stdout.encoding` gives this error. \nAlso `sys.stdin.encoding` gives `'UTF8'`, while python gives `'UTF-8'` for both cases.\n\n[This](../pull/603) commit makes bpython work (naturally stdin is still different than in standard python):\n\n``` python\nbpython version 0.15 on top of Python 3.5.2 /usr/bin/python\n\u003e\u003e\u003e import sys\n\u003e\u003e\u003e sys.stdin.encoding\n'UTF8'\n\u003e\u003e\u003e sys.stdout.encoding\n'UTF-8'\n```\n","author":{"url":"https://github.com/goetzc","@type":"Person","name":"goetzc"},"datePublished":"2016-07-06T20:22:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/622/bpython/issues/622"}
| 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:3587c4fd-4e60-12ea-73e0-1ef782e9817e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECC2:182EAE:DEA54F:133D96C:6968A87F |
| html-safe-nonce | b17668edea2136d2362d913eb5a8b2de5788d0681b60bb68589f312d6437f26c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0MyOjE4MkVBRTpERUE1NEY6MTMzRDk2Qzo2OTY4QTg3RiIsInZpc2l0b3JfaWQiOiI1NjI3Mjc5MjEyOTY3NzQzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 834ceebaa4b33daf05ca99d416e1f7053511c3f31f8267e9de48474b1ff3cb2b |
| hovercard-subject-tag | issue:164165053 |
| 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/622/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6266d3de210bb13d9e6b4e992dadef62ec9c9b037ba50997c3a2c8eac27e2abc/bpython/bpython/issues/622 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6266d3de210bb13d9e6b4e992dadef62ec9c9b037ba50997c3a2c8eac27e2abc/bpython/bpython/issues/622 |
| og:image:alt | sys.stdout.encoding gives this error. Also sys.stdin.encoding gives 'UTF8', while python gives 'UTF-8' for both cases. This commit makes bpython work (naturally stdin is still different than in sta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | goetzc |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| 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 | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width