forked from orbit-oss/flask
Merge pull request #3239 from gokcegrbl/GH-3227
Comment on bare except usage in _compat.py
This commit is contained in:
commit
94e057224c
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,8 @@ if hasattr(sys, "pypy_version_info"):
|
||||||
with _Mgr():
|
with _Mgr():
|
||||||
raise AssertionError()
|
raise AssertionError()
|
||||||
except:
|
except:
|
||||||
|
# We intentionally use a bare except here. See the comment above
|
||||||
|
# regarding a pypy bug as to why.
|
||||||
raise
|
raise
|
||||||
except TypeError:
|
except TypeError:
|
||||||
BROKEN_PYPY_CTXMGR_EXIT = True
|
BROKEN_PYPY_CTXMGR_EXIT = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue