Title: Cannot import extensions linked against `python3_d.dll` debug build on Windows · Issue #101614 · python/cpython · GitHub
Open Graph Title: Cannot import extensions linked against `python3_d.dll` debug build on Windows · Issue #101614 · python/cpython
X Title: Cannot import extensions linked against `python3_d.dll` debug build on Windows · Issue #101614 · python/cpython
Description: Bug report Build a debug version of CPython on Windows. Build an an extension module linked against this debug CPython's python3_d.dll. This crashes at runtime with the following error: ImportError: Module use of python3_d.dll conflicts ...
Open Graph Description: Bug report Build a debug version of CPython on Windows. Build an an extension module linked against this debug CPython's python3_d.dll. This crashes at runtime with the following error: ImportError...
X Description: Bug report Build a debug version of CPython on Windows. Build an an extension module linked against this debug CPython's python3_d.dll. This crashes at runtime with the following error: ImportE...
Opengraph URL: https://github.com/python/cpython/issues/101614
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot import extensions linked against `python3_d.dll` debug build on Windows","articleBody":"# Bug report\r\n\r\nBuild a debug version of CPython on Windows.\r\nBuild an an extension module linked against this debug CPython's `python3_d.dll`.\r\n\r\nThis crashes at runtime with the following error:\r\n\r\n```\r\nImportError: Module use of python3_d.dll conflicts with this version of Python.\r\n```\r\n\r\nThis originates from https://github.com/python/cpython/blob/7a253103d4c64fcca4c0939a584c2028d8da6829/Python/dynload_win.c#L311-L330\r\n\r\nIt looks like this code doesn't account for the possibility of linking against `python3_d.dll` when using a debug build.\r\n\r\n# Your environment\r\n\r\n- CPython versions tested on: main branch, 7a253103d4\r\n- Operating system and architecture: Windows 12 amd64\r\n\r\nOriginally reported to me in https://github.com/PyO3/pyo3/issues/2780\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-101615\n* gh-101690\n* gh-101691\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/davidhewitt","@type":"Person","name":"davidhewitt"},"datePublished":"2023-02-06T20:25:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/101614/cpython/issues/101614"}
| 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:f21ba0e6-df5e-0674-058e-2081a7f15bf8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEE0:4B981:26E6DCB:363F67A:69694D0F |
| html-safe-nonce | 2519e8c7be23fec3a97dd8cdcdd8bdac7fd896a38201602c2810b5011ec3632c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUUwOjRCOTgxOjI2RTZEQ0I6MzYzRjY3QTo2OTY5NEQwRiIsInZpc2l0b3JfaWQiOiIzNzk4Mzk2MDAzNzc3MzM0NTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ef2ad2644e23ecb27d4fadcbe0110d75d5e05e5b146d7070aec686def6224ecf |
| hovercard-subject-tag | issue:1573226840 |
| 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/101614/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f60452bad955ca2d47b563e6591f219e9745e503eafca29d547e4510b4d4a7d/python/cpython/issues/101614 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f60452bad955ca2d47b563e6591f219e9745e503eafca29d547e4510b4d4a7d/python/cpython/issues/101614 |
| og:image:alt | Bug report Build a debug version of CPython on Windows. Build an an extension module linked against this debug CPython's python3_d.dll. This crashes at runtime with the following error: ImportError... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidhewitt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width