Author: Armin Rigo <[email protected]>
Branch: py3k-faulthandler
Changeset: r87357:46dc7721ec00
Date: 2016-09-24 09:50 +0200
http://bitbucket.org/pypy/pypy/changeset/46dc7721ec00/

Log:    translation fixes

diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py
--- a/pypy/interpreter/argument.py
+++ b/pypy/interpreter/argument.py
@@ -252,6 +252,7 @@
         missing_positional = []
         missing_kwonly = []
         more_filling = (input_argcount < co_argcount + co_kwonlyargcount)
+        def_first = 0
         if more_filling:
             def_first = co_argcount - (0 if defaults_w is None else 
len(defaults_w))
             j = 0
diff --git a/pypy/module/faulthandler/handler.py 
b/pypy/module/faulthandler/handler.py
--- a/pypy/module/faulthandler/handler.py
+++ b/pypy/module/faulthandler/handler.py
@@ -5,7 +5,8 @@
 from rpython.rlib.objectmodel import keepalive_until_here
 from rpython.rtyper.annlowlevel import llhelper
 
-from pypy.interpreter.error import oefmt, exception_from_saved_errno
+from pypy.interpreter.error import OperationError, oefmt
+from pypy.interpreter.error import exception_from_saved_errno
 from pypy.interpreter.gateway import unwrap_spec
 from pypy.module.faulthandler import cintf, dumper
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to