Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r58374:536910e79306
Date: 2012-10-22 22:05 +0200
http://bitbucket.org/pypy/pypy/changeset/536910e79306/

Log:    make it rather a fatal error

diff --git a/pypy/objspace/flow/argument.py b/pypy/objspace/flow/argument.py
--- a/pypy/objspace/flow/argument.py
+++ b/pypy/objspace/flow/argument.py
@@ -204,8 +204,7 @@
         # if a **kwargs argument is needed, create the dict
         w_kwds = None
         if signature.has_kwarg():
-            w_kwds = self.space.newdict()
-            scope_w[co_argcount + signature.has_vararg()] = w_kwds
+            raise TypeError("Keyword arguments as **kwargs is not supported by 
RPython")
 
         # handle keyword arguments
         num_remainingkwds = 0
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to