Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r74277:5c8d034c4f59
Date: 2014-10-29 11:18 -0700
http://bitbucket.org/pypy/pypy/changeset/5c8d034c4f59/
Log: use eq_w
diff --git a/pypy/module/_io/interp_iobase.py b/pypy/module/_io/interp_iobase.py
--- a/pypy/module/_io/interp_iobase.py
+++ b/pypy/module/_io/interp_iobase.py
@@ -24,8 +24,7 @@
try:
w_value = error.get_w_value(space)
w_errno = space.getattr(w_value, space.wrap("errno"))
- return space.is_true(
- space.eq(w_errno, space.wrap(EINTR)))
+ return space.eq_w(w_errno, space.wrap(EINTR))
except OperationError:
return False
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit