Title: 1776 Generic Virtual Method Causes Invalid Program: Fix + test by rmadsen-ks · Pull Request #2026 · pythonnet/pythonnet · GitHub
Open Graph Title: 1776 Generic Virtual Method Causes Invalid Program: Fix + test by rmadsen-ks · Pull Request #2026 · pythonnet/pythonnet
X Title: 1776 Generic Virtual Method Causes Invalid Program: Fix + test by rmadsen-ks · Pull Request #2026 · pythonnet/pythonnet
Description: If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class. Added a unit test which verifies this behavior is now working. Close #1776 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 Ensure you have signed the .NET Foundation CLA Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class. Added a unit test which verifies this behavior is now working. ...
X Description: If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class. Added a unit test which verifies this behavior is now working. ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2026
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b939af7f-9d63-d46d-3f74-cf943d48be1d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C09C:2DE302:20C3EFB:2E2916D:6970F351 |
| html-safe-nonce | 15a676880e512ecdc35f84c3d4e67dc9f8436b7b3136c731718fc989d8edbdb8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDlDOjJERTMwMjoyMEMzRUZCOjJFMjkxNkQ6Njk3MEYzNTEiLCJ2aXNpdG9yX2lkIjoiNjAwNjk3ODM0MDQwNzI3NjM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 057266959b0754de49c46226f31fee8d985068577a76256a227e31c20ecfc597 |
| hovercard-subject-tag | pull_request:1138893316 |
| 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/2026/files |
| twitter:image | https://avatars.githubusercontent.com/u/24250062?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24250062?s=400&v=4 |
| og:image:alt | If a method is virtual AND generic, it cannot be overridden by the python class. Hence the method call is deferred to the base class. Added a unit test which verifies this behavior is now working. ... |
| 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