Skip to content

Commit

Permalink
error_fetch_and_normalize: PyPy 7.3.10+ does not need the PR #4079
Browse files Browse the repository at this point in the history
…workaround anymore. (#4154)
  • Loading branch information
Ralf W. Grosse-Kunstleve authored Aug 24, 2022
1 parent a48ec3e commit fac23b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pytypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ struct error_fetch_and_normalize {
+ " failed to obtain the name "
"of the normalized active exception type.");
}
#if defined(PYPY_VERSION)
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x07030a00
// This behavior runs the risk of masking errors in the error handling, but avoids a
// conflict with PyPy, which relies on the normalization here to change OSError to
// FileNotFoundError (https://github.com/pybind/pybind11/issues/4075).
Expand Down

0 comments on commit fac23b6

Please sign in to comment.