Title: ImportHook cleanup + PyObject.Length exception by lostmsu · Pull Request #1400 · pythonnet/pythonnet · GitHub
Open Graph Title: ImportHook cleanup + PyObject.Length exception by lostmsu · Pull Request #1400 · pythonnet/pythonnet
X Title: ImportHook cleanup + PyObject.Length exception by lostmsu · Pull Request #1400 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Import adds validation to PyImportTest before restoring original __import__, validates, that __import__ was not replaced by a third party (only in DEBUG build) drops unsupported _PyObject_GetDictPtr in favor of PyObject_GenericGetDict PyObject Length() method now raises an exception when object does not support concept of length (was returning 0).
Open Graph Description: What does this implement/fix? Explain your changes. Import adds validation to PyImportTest before restoring original __import__, validates, that __import__ was not replaced by a third party (only ...
X Description: What does this implement/fix? Explain your changes. Import adds validation to PyImportTest before restoring original __import__, validates, that __import__ was not replaced by a third party (only ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1400
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:689672cb-1a19-0aa8-9534-c307914ecea4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B502:38354B:2F846D2:4013632:69708608 |
| html-safe-nonce | 8ab28ea6bc428c73069c6e31bc21d74e299fb5d49bb10583f4ab22ca151358aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTAyOjM4MzU0QjoyRjg0NkQyOjQwMTM2MzI6Njk3MDg2MDgiLCJ2aXNpdG9yX2lkIjoiMzY4OTA4NzM4OTU4MjUyNTk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 940102d667f10a2d33eba325bf21751fd2d67e2feb2645bee6136758a61a976b |
| hovercard-subject-tag | pull_request:580492039 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/pythonnet/pythonnet/pull/1400/checks |
| twitter:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. Import adds validation to PyImportTest before restoring original __import__, validates, that __import__ was not replaced by a third party (only ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width