Title: 'import site' fails when called from an unlinked directory · Issue #50861 · python/cpython · GitHub
Open Graph Title: 'import site' fails when called from an unlinked directory · Issue #50861 · python/cpython
X Title: 'import site' fails when called from an unlinked directory · Issue #50861 · python/cpython
Description: BPO 6612 Nosy @birkenfeld, @amauryfa, @vstinner, @wking Files issue6612.patch: patch against current python-trunk fixing issue6612deleted_cwd.patch Note: these values reflect the state of the issue at the time it was migrated and might n...
Open Graph Description: BPO 6612 Nosy @birkenfeld, @amauryfa, @vstinner, @wking Files issue6612.patch: patch against current python-trunk fixing issue6612deleted_cwd.patch Note: these values reflect the state of the issue...
X Description: BPO 6612 Nosy @birkenfeld, @amauryfa, @vstinner, @wking Files issue6612.patch: patch against current python-trunk fixing issue6612deleted_cwd.patch Note: these values reflect the state of the issue...
Opengraph URL: https://github.com/python/cpython/issues/50861
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'import site' fails when called from an unlinked directory","articleBody":"BPO | [6612](https://bugs.python.org/issue6612)\n--- | :---\nNosy | @birkenfeld, @amauryfa, @vstinner, @wking\nFiles | \u003cli\u003e[issue6612.patch](https://bugs.python.org/file18264/issue6612.patch \"Uploaded as text/plain at 2010-07-29.21:46:39 by @wking\"): patch against current python-trunk fixing issue6612\u003c/li\u003e\u003cli\u003e[deleted_cwd.patch](https://bugs.python.org/file19154/deleted_cwd.patch \"Uploaded as text/plain at 2010-10-07.23:51:58 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-12.22:57:27.982\u003e\ncreated_at = \u003cDate 2009-07-31.09:53:25.040\u003e\nlabels = ['type-bug', 'library']\ntitle = \"'import site' fails when called from an unlinked directory\"\nupdated_at = \u003cDate 2010-10-12.22:57:27.980\u003e\nuser = 'https://github.com/wking'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2010-10-12.22:57:27.980\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2010-10-12.22:57:27.982\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2009-07-31.09:53:25.040\u003e\ncreator = 'labrat'\ndependencies = []\nfiles = ['18264', '19154']\nhgrepos = []\nissue_num = 6612\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['91129', '111971', '112014', '112043', '117863', '118152', '118153', '118479']\nnosy_count = 4.0\nnosy_names = ['georg.brandl', 'amaury.forgeotdarc', 'vstinner', 'labrat']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'patch review'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue6612'\nversions = ['Python 3.1', 'Python 2.7', 'Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/wking","@type":"Person","name":"wking"},"datePublished":"2009-07-31T09:53:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/50861/cpython/issues/50861"}
| 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:91b08b59-6fd0-ea10-37b2-c608694bc80b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BAE:A2022:CBC6A0:11C6DD6:6A4E8C39 |
| html-safe-nonce | a46c8541f21eed538f2857e81bcf1cd5cbce3412697b4acf7f985f29e4f50256 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkFFOkEyMDIyOkNCQzZBMDoxMUM2REQ2OjZBNEU4QzM5IiwidmlzaXRvcl9pZCI6IjU2ODkzODMzODQ1MzY0ODQ5MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 865ffa9afec8b8339241bd24614c6f75f2403d9c640fdb0637423939c821cdde |
| hovercard-subject-tag | issue:1198846855 |
| 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/50861/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f0cda4b1660c1c192960c19ff31d676243ad949ff4eadd699345c1b37931d09/python/cpython/issues/50861 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f0cda4b1660c1c192960c19ff31d676243ad949ff4eadd699345c1b37931d09/python/cpython/issues/50861 |
| og:image:alt | BPO 6612 Nosy @birkenfeld, @amauryfa, @vstinner, @wking Files issue6612.patch: patch against current python-trunk fixing issue6612deleted_cwd.patch Note: these values reflect the state of the issue... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wking |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width