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
Traceback Shows Too Much Info For Class Definition Exception #129145
Traceback (most recent call last):
File "<python-input-10>", line 1, in <module>
class Spam(metaclass=Meta):
...<5 lines>...
f = 6
File "<python-input-9>", line 3, in __prepare__
raise Exception
I would expect this to only show the compound statement's "header":
Traceback (most recent call last):
File "<python-input-10>", line 1, in <module>
class Spam(metaclass=Meta):
File "<python-input-9>", line 3, in __prepare__
raise Exception
Activity
Eclips4 commentedon Jan 21, 2025
cc @pablogsal