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: patch-diff.githubusercontent.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:5b8aa106-199b-9a39-fa46-ef98f86091ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFA2:3EFC3A:B3A3D2:FC8098:696F927F |
| html-safe-nonce | 4ef818d02bf97647db009aefcfbe8e8a9da0bf4463dd56ab943b653f394c1777 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkEyOjNFRkMzQTpCM0EzRDI6RkM4MDk4OjY5NkY5MjdGIiwidmlzaXRvcl9pZCI6IjIzNjkyNjg1NTgyNzQyMDQyODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9c91054f556d3b1541181a58611df68b97c3bf0a999a29218ff9b9937ef2bee |
| 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 | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| 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 | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width