WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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