Title: Calling super().Method() throws an exception if its not implemented by the base class · Issue #2629 · pythonnet/pythonnet · GitHub
Open Graph Title: Calling super().Method() throws an exception if its not implemented by the base class · Issue #2629 · pythonnet/pythonnet
X Title: Calling super().Method() throws an exception if its not implemented by the base class · Issue #2629 · pythonnet/pythonnet
Description: In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level. For example: class Class1 { public virtual void Method(){ ...
Open Graph Description: In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level. For example: class...
X Description: In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level. For example: class...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/2629
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Calling super().Method() throws an exception if its not implemented by the base class","articleBody":"In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level.\n\nFor example:\n\n```c#\nclass Class1 {\n public virtual void Method(){\n\n }\n}\n```\n\n```python\nclass Class2(Class1):\n # This does not implement Method\n pass\nclass Class3(class2):\n def Method(self):\n super().Method()\n```\n\nIn this case, calling Class3.Method will cause a stackoverflow exception because it will call back to the virtual Method method instead of the concrete base class implementation.\n\n","author":{"url":"https://github.com/rmadsen-ks","@type":"Person","name":"rmadsen-ks"},"datePublished":"2025-10-09T16:32:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2629/pythonnet/issues/2629"}
| 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:9fd8e25a-b602-b2b4-b274-69f5b62f828c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A504:15632F:5DF46C:834637:6A639FAE |
| html-safe-nonce | bed534c84dfdd9b194c25a829a99ad4c1243a0efc784dff8eb59a5c4e26f2084 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTA0OjE1NjMyRjo1REY0NkM6ODM0NjM3OjZBNjM5RkFFIiwidmlzaXRvcl9pZCI6IjU1Nzc1OTY4MDYxNDEwMjYyMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7c075e093f1853d20d8df74adc227b6ffc2d5cceb3e30a0819bfe14bffb491dc |
| hovercard-subject-tag | issue:3499856018 |
| 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/2629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56b4ba973c5e820f815c1ceb1321a4049488f2875120d523f23abcb65df05e7e/pythonnet/pythonnet/issues/2629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56b4ba973c5e820f815c1ceb1321a4049488f2875120d523f23abcb65df05e7e/pythonnet/pythonnet/issues/2629 |
| og:image:alt | In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level. For example: class... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rmadsen-ks |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| 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 | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width