Author: Matti Picus <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to