Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't remove traceback on rethrow #737

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

slozier
Copy link
Contributor

@slozier slozier commented Feb 15, 2020

@slozier slozier changed the title Remove MakeRethrowExceptionWorker Don't remove traceback on rethrow Feb 15, 2020
@slozier
Copy link
Contributor Author

slozier commented Feb 16, 2020

Resolves the issue, but breaks the traceback of:

def g():
    f()

def f():
    try:
        raise Exception
    except:
        raise

g()

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.

traceback incorrect with contextlib.contextmanager
1 participant