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:1ececdb1-1ad1-48f5-acf2-3cecf03fe3ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 891A:11AA0A:10834FC:1727434:696FC6AC |
| html-safe-nonce | f78ae3148187471ebf1dc87e2cd00d93132c614cdeb98c420364743434e709d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTFBOjExQUEwQToxMDgzNEZDOjE3Mjc0MzQ6Njk2RkM2QUMiLCJ2aXNpdG9yX2lkIjoiMzMxNTg1MDMwNzc0Mzc2MjA5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ce1dbcdc8e22664314332d41c1b0b171e0e251f1c3e28b042e976f4752f5deb |
| 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 | 330ca0f04ee8ecef1da04306a0dd49293f64679ee9a4bd5eaf2e1272bfdcf145 |
| 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 | 816ad575e27a390de2e2089ebe75261d12de9b37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width