Title: Update documentation to reflect API changes · Issue #2433 · pythonnet/pythonnet · GitHub
Open Graph Title: Update documentation to reflect API changes · Issue #2433 · pythonnet/pythonnet
X Title: Update documentation to reflect API changes · Issue #2433 · pythonnet/pythonnet
Description: Similar to #2187, the Wiki also contains outdated code: The Threading page is still using PythonEngine.ImportModule(). There might be other pages that are outdated, like Loading Python file in .NET and Call function where Py.GIL() is not...
Open Graph Description: Similar to #2187, the Wiki also contains outdated code: The Threading page is still using PythonEngine.ImportModule(). There might be other pages that are outdated, like Loading Python file in .NET...
X Description: Similar to #2187, the Wiki also contains outdated code: The Threading page is still using PythonEngine.ImportModule(). There might be other pages that are outdated, like Loading Python file in .NET...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/2433
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update documentation to reflect API changes","articleBody":"Similar to #2187, the Wiki also contains outdated code: The [Threading](https://github.com/pythonnet/pythonnet/wiki/Threading) page is still using `PythonEngine.ImportModule()`.\r\n\r\nThere might be other pages that are outdated, like [Loading Python file in .NET and Call function](https://github.com/pythonnet/pythonnet/wiki/Loading-Python-file-in-.NET-and-Call-function) where `Py.GIL()` is not inside a `using`. I'm unsure if this is still correct.\r\n\r\nI've also seen various code snippets where the new `Runtime.DLL` requirement is absent, most notably in the [README](https://github.com/pythonnet/pythonnet/blob/ea059ca0aeec4cdad490c1a68c783908dd879607/README.rst?plain=1#L86) and the [documentation](https://pythonnet.github.io/pythonnet/dotnet.html).","author":{"url":"https://github.com/TheJanzap","@type":"Person","name":"TheJanzap"},"datePublished":"2024-08-08T15:39:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2433/pythonnet/issues/2433"}
| 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:92ddeb8b-9444-2ad9-4e9c-4d5de0f3f496 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A560:36B19:3968B3E:503D578:6971271C |
| html-safe-nonce | fd2c5337a5121f1468ca616246501c761829129976afdabebc28a21f5130e338 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTYwOjM2QjE5OjM5NjhCM0U6NTAzRDU3ODo2OTcxMjcxQyIsInZpc2l0b3JfaWQiOiIxNTg4ODU0NTE5MzQ2ODMzMTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 89aa5c5f8fcd10f3db239eacc0f2e87c978b7987b46ff03506307a4e8122ae7f |
| hovercard-subject-tag | issue:2456114369 |
| 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/pythonnet/pythonnet/2433/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7de0d0bd682a01475a4190dd5f6bdd741835a657052765cd26bd86b0b5a40451/pythonnet/pythonnet/issues/2433 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7de0d0bd682a01475a4190dd5f6bdd741835a657052765cd26bd86b0b5a40451/pythonnet/pythonnet/issues/2433 |
| og:image:alt | Similar to #2187, the Wiki also contains outdated code: The Threading page is still using PythonEngine.ImportModule(). There might be other pages that are outdated, like Loading Python file in .NET... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheJanzap |
| hostname | github.com |
| expected-hostname | github.com |
| None | d8bf5373bf714a973a48ff6e39919055ffeb8fb275ee80b009c0532d6e0f0c68 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | 4fbcc41ab94dbb05f665e4608286c36baa99ad43 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width