Title: `pythonic-start-process` crashes when starting in a directory that shadows a stdlib module name · Issue #23 · pythonic-emacs/pythonic · GitHub
Open Graph Title: `pythonic-start-process` crashes when starting in a directory that shadows a stdlib module name · Issue #23 · pythonic-emacs/pythonic
X Title: `pythonic-start-process` crashes when starting in a directory that shadows a stdlib module name · Issue #23 · pythonic-emacs/pythonic
Description: If I have a package with a src/foo/bar/site.py, and I use pythonic-start-process to start my interpreter while editing that file, it crashes because it shadows the built-in site module, even if there is properly a __init__.py file in tha...
Open Graph Description: If I have a package with a src/foo/bar/site.py, and I use pythonic-start-process to start my interpreter while editing that file, it crashes because it shadows the built-in site module, even if the...
X Description: If I have a package with a src/foo/bar/site.py, and I use pythonic-start-process to start my interpreter while editing that file, it crashes because it shadows the built-in site module, even if the...
Opengraph URL: https://github.com/pythonic-emacs/pythonic/issues/23
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`pythonic-start-process` crashes when starting in a directory that shadows a stdlib module name","articleBody":"If I have a package with a `src/foo/bar/site.py`, and I use `pythonic-start-process` to start my interpreter while editing that file, it crashes because it shadows the built-in `site` module, even if there is properly a `__init__.py` file in that folder marking it as a package. There should be some heuristics to select an appropriate cwd, or at least an easy option to do so.\r\n\r\n(This is derived from the behavior of the 'isortify' package, but perhaps they're using it improperly?)","author":{"url":"https://github.com/glyph","@type":"Person","name":"glyph"},"datePublished":"2024-03-08T00:29:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/23/pythonic/issues/23"}
| 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:87a2d816-336b-dc6f-9122-c7c0b51783a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9DE:3F983D:84F1B1D:AF31891:696DE618 |
| html-safe-nonce | 1bb118daf6ee079222b1f40a5d805f8b34e6c1bba50085c5eef5e99f528c8a72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOURFOjNGOTgzRDo4NEYxQjFEOkFGMzE4OTE6Njk2REU2MTgiLCJ2aXNpdG9yX2lkIjoiMzcwNDczMzA4Nzg1ODI4ODE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8eb148d26c8c6d880e849f0dc77755ba8e4b7c0de19ccd1ee51bf3b0ed69a47b |
| hovercard-subject-tag | issue:2175060962 |
| 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/pythonic-emacs/pythonic/23/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94efd30d979e34b3ecc08feb0d64f67b19683ba235d08bb9e769e0ddae4610ca/pythonic-emacs/pythonic/issues/23 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94efd30d979e34b3ecc08feb0d64f67b19683ba235d08bb9e769e0ddae4610ca/pythonic-emacs/pythonic/issues/23 |
| og:image:alt | If I have a package with a src/foo/bar/site.py, and I use pythonic-start-process to start my interpreter while editing that file, it crashes because it shadows the built-in site module, even if the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | glyph |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonic-emacs/pythonic git https://github.com/pythonic-emacs/pythonic.git |
| octolytics-dimension-user_id | 55251285 |
| octolytics-dimension-user_login | pythonic-emacs |
| octolytics-dimension-repository_id | 29578090 |
| octolytics-dimension-repository_nwo | pythonic-emacs/pythonic |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29578090 |
| octolytics-dimension-repository_network_root_nwo | pythonic-emacs/pythonic |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width