Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r47771:e93bb841a63d
Date: 2011-10-02 12:42 -0400
http://bitbucket.org/pypy/pypy/changeset/e93bb841a63d/

Log:    remove this dead code, needed for the optimization from the previous
        commit.

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -848,12 +848,6 @@
         call_init = space.isinstance_w(w_newobject, w_type)
 
     # maybe invoke the __init__ of the type
-    try:
-        __args__.fixedunpack(1)
-    except ValueError:
-        single_arg = False
-    else:
-        single_arg = True
     if (call_init and not (space.is_w(w_type, space.w_type) and
         not __args__.keywords and len(__args__.arguments_w) == 1)):
         w_descr = space.lookup(w_newobject, '__init__')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to