Title: sub-interpreters: datetime segfaults if imported from two sub-interpreters · Issue #110415 · python/cpython · GitHub
Open Graph Title: sub-interpreters: datetime segfaults if imported from two sub-interpreters · Issue #110415 · python/cpython
X Title: sub-interpreters: datetime segfaults if imported from two sub-interpreters · Issue #110415 · python/cpython
Description: Bug report Bug description: I've started putting a branch together that moves all the global state into a module-level state object. If that looks useful, I'll continue to work on it and can rebase on main. It passes tests and "works on ...
Open Graph Description: Bug report Bug description: I've started putting a branch together that moves all the global state into a module-level state object. If that looks useful, I'll continue to work on it and can rebase...
X Description: Bug report Bug description: I've started putting a branch together that moves all the global state into a module-level state object. If that looks useful, I'll continue to work on it and ca...
Opengraph URL: https://github.com/python/cpython/issues/110415
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sub-interpreters: datetime segfaults if imported from two sub-interpreters","articleBody":"# Bug report\n\n### Bug description:\n\nI've started [putting a branch together](https://github.com/costasgambit/cpython/tree/costas--py3.12-datetime) that moves all the global state into a module-level state object. \n\nIf that looks useful, I'll continue to work on it and can rebase on main. \n\nIt passes tests and \"works on my machine\".\n\nI haven't looked at python internals in some time, so apologies if I'm a little rusty!\n\n### CPython versions tested on:\n\n3.12, CPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110420\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/costasgambit","@type":"Person","name":"costasgambit"},"datePublished":"2023-10-05T17:28:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/110415/cpython/issues/110415"}
| 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:7fd00f26-f63a-f3ad-510c-b88f22581436 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E34E:249571:FF02A1:155F6CC:69699192 |
| html-safe-nonce | 9e114b1570f6f2fe2fba0e9b90201c479f90771f6a789d9bf0c62a4d70cf7fd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzRFOjI0OTU3MTpGRjAyQTE6MTU1RjZDQzo2OTY5OTE5MiIsInZpc2l0b3JfaWQiOiI4MjEzMjg1Mjk3ODUyMDkyODE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9f530d9554e0b4155852bb624f41fcc271112101ad2f3ee853883c6e07b6d74f |
| hovercard-subject-tag | issue:1928750702 |
| 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/110415/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dbb94b2aceb63ca5e8985aa082febbb39797203f70c784d886bb8bcb10b686ac/python/cpython/issues/110415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dbb94b2aceb63ca5e8985aa082febbb39797203f70c784d886bb8bcb10b686ac/python/cpython/issues/110415 |
| og:image:alt | Bug report Bug description: I've started putting a branch together that moves all the global state into a module-level state object. If that looks useful, I'll continue to work on it and can rebase... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | costasgambit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width