You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 33cc7da
Browse filesBrowse the repository at this point in the historyBrowse files
Keep the default repr for Python subclasses that don't override ToString
The generated type of a Python subclass with __namespace__ overrides every
virtual method, ToString() included, so its DeclaringType always passed the
check and repr() returned the bare type name. Like
PythonDerivedType.InvokeMethod, only count a ToString the Python class
defines; otherwise look through the generated types to the .NET base.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments