Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k-osxfix
Changeset: r84634:b1fbb8f141b8
Date: 2016-05-23 12:03 -0700
http://bitbucket.org/pypy/pypy/changeset/b1fbb8f141b8/

Log:    more debug

diff --git a/pypy/module/posix/interp_posix.py 
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -175,8 +175,10 @@
         result = space.c_int_w(w_value)
     except OperationError as e:
         if not e.match(space, space.w_OverflowError):
+            import traceback
+            traceback.print_stack()
             raise oefmt(space.w_TypeError,
-                "argument should be %s, not %T", allowed_types, w_value)
+                "!argument should be %s, not %T", allowed_types, w_value)
         else:
             raise
     if result == -1:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to