[pypy-commit] pypy py3.6: emit correct exception class

mattip pypy.commits at gmail.com
Sun Feb 2 12:49:37 EST 2020


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.6
Changeset: r98641:c7efe1e62575
Date: 2020-01-31 12:02 +0200
http://bitbucket.org/pypy/pypy/changeset/c7efe1e62575/

Log:	emit correct exception class

diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py
--- a/pypy/interpreter/error.py
+++ b/pypy/interpreter/error.py
@@ -649,6 +649,7 @@
         w_errno = space.w_None
         w_winerror = space.newint(winerror)
         w_msg = space.newtext(msg, lgt)
+        w_exc = space.w_WindowsError
     else:
         errno = e.errno
         if errno == EINTR:


More information about the pypy-commit mailing list