Skip to content
Myr

Merge pull request #3239 from gokcegrbl/GH-3227

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Comment on bare except usage in _compat.py

authored by David Lord · committed by GitHub · parents 52f9aa7, 1b526c8 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:flask/_compat.py+2 added
96 unmodified lines
97 try:98 with _Mgr():99 raise AssertionError()100 except:101 # We intentionally use a bare except here. See the comment above102 # regarding a pypy bug as to why.103 raise104 except TypeError:105 BROKEN_PYPY_CTXMGR_EXIT = True106 except AssertionError:
10 unmodified lines