-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
File "../lib/python3.8/site-packages/chameleon/exc.py", line 321, in __call__
exc = create_formatted_exception(exc, type(exc), exc._original__str__)
File "../lib/python3.8/site-packages/chameleon/utils.py", line 227, in create_formatted_exception
inst = cls.__new__(new)
TypeError: BaseException.__new__(SyntaxError) is not safe, use SyntaxError.__new__()
try:
inst = BaseException.__new__(new)
except TypeError:
inst = cls.__new__(new) # line 227
BaseException.__init__(inst, *exc.args)
inst.__dict__ = exc.__dict__
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels