Title: Fix PythonException GC - no thread-state for this thread by vmuriart · Pull Request #400 · pythonnet/pythonnet · GitHub
Open Graph Title: Fix PythonException GC - no thread-state for this thread by vmuriart · Pull Request #400 · pythonnet/pythonnet
X Title: Fix PythonException GC - no thread-state for this thread by vmuriart · Pull Request #400 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Re-enable most PyTuple tests on PY27/Travis. Prevent GC trying to deref values after python has been closed. Does this close any currently open issues? Fails on Travis/PY27: Fatal Python error: auto-releasing thread-state, but no thread-state for this thread Seen mostly on PY27/Travis on PyTuple tests during GC of tests. Fatal Python error: auto-releasing thread-state, but no thread-state for this thread Stacktrace: at (wrapper managed-to-native) Python.Runtime.Runtime.PyGILState_Release (intptr) at Python.Runtime.PythonEngine.ReleaseLock (intptr) at Python.Runtime.PythonException.Dispose () at Python.Runtime.PythonException.Finalize () at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) Any other comments? Similar fix to #365. Since PythonException doesn't inherit from PyObject, need to reapply fix. Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: What does this implement/fix? Explain your changes. Re-enable most PyTuple tests on PY27/Travis. Prevent GC trying to deref values after python has been closed. Does this close any currently open i...
X Description: What does this implement/fix? Explain your changes. Re-enable most PyTuple tests on PY27/Travis. Prevent GC trying to deref values after python has been closed. Does this close any currently open i...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/400
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ff584ef3-9aca-9cd9-38fb-8e61d70bf1c2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A972:36B19:21CDC35:2F7DA0E:6970EDE2 |
| html-safe-nonce | 4b3e1f4fb186538ffbf526970d361e858c1b1c734b14468b2c19d9730e7f1708 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTcyOjM2QjE5OjIxQ0RDMzU6MkY3REEwRTo2OTcwRURFMiIsInZpc2l0b3JfaWQiOiI4MDE4NTQxMTk4NTAwMjI4NTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c85a23b79634368546623e9b91ede6972f33a586c4a24908f70990dc1b32ca4 |
| hovercard-subject-tag | pull_request:107559290 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/400/files |
| twitter:image | https://avatars.githubusercontent.com/u/13303020?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13303020?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. Re-enable most PyTuple tests on PY27/Travis. Prevent GC trying to deref values after python has been closed. Does this close any currently open i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b6ca3cb96fa07d8a62b95d681f9dc8fffb49a43f4fea2a5bcac6d8f5107cbf4e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2448578278810c7bf94faa67651ef5adb1abfde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width