Skip to content

Conversation

@radix
Copy link
Contributor

@radix radix commented Nov 23, 2019

Fixes #24 (Passing around exc_info tuples sucks)

Ripping off the bandaid:

  • this PR makes Effect only support Python 3
  • this PR changes the API of Effect in a completely backwards-incompatible way

Everywhere where we used to deal with exc_info tuples, we now use Exception instances. This works in Python3 because Exception instances carry around their tracebacks.

@radix
Copy link
Contributor Author

radix commented Nov 23, 2019

After merging this, I will release Effect 1.0.

@radix radix merged commit 6b71487 into master Nov 24, 2019
@radix radix deleted the py3-exceptions branch November 24, 2019 00:58
@rbtcollins
Copy link
Contributor

<3

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.

Passing around exc_info tuples sucks

3 participants