Title: sys.path[0] is incorrect if PYTHONFSENCODING is used · Issue #54223 · python/cpython · GitHub
Open Graph Title: sys.path[0] is incorrect if PYTHONFSENCODING is used · Issue #54223 · python/cpython
X Title: sys.path[0] is incorrect if PYTHONFSENCODING is used · Issue #54223 · python/cpython
Description: BPO 10014 Nosy @vstinner Dependencies bpo-10039: python é.py fails with UnicodeEncodeError if PYTHONFSENCODING is used Files realpath_fs_encoding-2.patch Note: these values reflect the state of the issue at the time it was migrated and m...
Open Graph Description: BPO 10014 Nosy @vstinner Dependencies bpo-10039: python é.py fails with UnicodeEncodeError if PYTHONFSENCODING is used Files realpath_fs_encoding-2.patch Note: these values reflect the state of the...
X Description: BPO 10014 Nosy @vstinner Dependencies bpo-10039: python é.py fails with UnicodeEncodeError if PYTHONFSENCODING is used Files realpath_fs_encoding-2.patch Note: these values reflect the state of the...
Opengraph URL: https://github.com/python/cpython/issues/54223
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sys.path[0] is incorrect if PYTHONFSENCODING is used","articleBody":"BPO | [10014](https://bugs.python.org/issue10014)\n--- | :---\nNosy | @vstinner\nDependencies | \u003cli\u003ebpo-10039: python é.py fails with UnicodeEncodeError if PYTHONFSENCODING is used\u003c/li\u003e\nFiles | \u003cli\u003e[realpath_fs_encoding-2.patch](https://bugs.python.org/file19153/realpath_fs_encoding-2.patch \"Uploaded as text/plain at 2010-10-07.23:10:57 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2010-10-13.22:25:10.615\u003e\ncreated_at = \u003cDate 2010-10-02.12:14:21.087\u003e\nlabels = ['expert-unicode']\ntitle = 'sys.path[0] is incorrect if PYTHONFSENCODING is used'\nupdated_at = \u003cDate 2010-10-13.22:25:10.614\u003e\nuser = 'https://github.com/vstinner'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-10-13.22:25:10.614\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2010-10-13.22:25:10.615\u003e\ncloser = 'vstinner'\ncomponents = ['Unicode']\ncreation = \u003cDate 2010-10-02.12:14:21.087\u003e\ncreator = 'vstinner'\ndependencies = ['10039']\nfiles = ['19153']\nhgrepos = []\nissue_num = 10014\nkeywords = ['patch']\nmessage_count = 7.0\nmessages = ['117870', '118088', '118090', '118101', '118102', '118151', '118595']\nnosy_count = 1.0\nnosy_names = ['vstinner']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue10014'\nversions = ['Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2010-10-02T12:14:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/54223/cpython/issues/54223"}
| 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:fcf34c29-a3d5-570b-de44-6e374a62a2f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 964A:3BEDBF:510AC6:6EA729:6A4DA6D3 |
| html-safe-nonce | e9ebc2cf348c22fc30ff9bb2be06f6252d3a7382e19ce0ed3927b81c605219d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjRBOjNCRURCRjo1MTBBQzY6NkVBNzI5OjZBNERBNkQzIiwidmlzaXRvcl9pZCI6IjY2NjY4OTYwNDUzNjI3NTExODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 241b05c5a1ac08b6765fa01e573535f854c13eb46aae3b4cd001be5e5a4414eb |
| hovercard-subject-tag | issue:1198860593 |
| 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/54223/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80edb6dc0075de45ccf54ce586a393b161c2f558e58b9d5ec5ee9dec46907a2a/python/cpython/issues/54223 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80edb6dc0075de45ccf54ce586a393b161c2f558e58b9d5ec5ee9dec46907a2a/python/cpython/issues/54223 |
| og:image:alt | BPO 10014 Nosy @vstinner Dependencies bpo-10039: python é.py fails with UnicodeEncodeError if PYTHONFSENCODING is used Files realpath_fs_encoding-2.patch Note: these values reflect the state of the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 47723578ce6819210724ef064c858fce6d3115a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width