Skip to content

Conversation

palaviv
Copy link
Contributor

@palaviv palaviv commented Nov 16, 2019

In CPython the BaseException initialize __traceback__, __cause__, __context__ and __suppress_context__ in __new__ and not in __init__.
Do you think this attributes should be members of PyBaseException?

@palaviv
Copy link
Contributor Author

palaviv commented Nov 17, 2019

I decided to move everything into PyBaseException

Copy link
Member

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Sorry for not reviewing earlier.

@palaviv palaviv merged commit aa1af71 into RustPython:master Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants