[pypy-commit] pypy default: silence this warning, it seems we never look at them anyway

fijal noreply at buildbot.pypy.org
Tue Jul 21 14:48:55 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r78626:1c952f7cf89a
Date: 2015-07-21 14:49 +0200
http://bitbucket.org/pypy/pypy/changeset/1c952f7cf89a/

Log:	silence this warning, it seems we never look at them anyway

diff --git a/rpython/rtyper/rclass.py b/rpython/rtyper/rclass.py
--- a/rpython/rtyper/rclass.py
+++ b/rpython/rtyper/rclass.py
@@ -916,9 +916,9 @@
                             name, None)
                         if attrvalue is None:
                             # Ellipsis from get_reusable_prebuilt_instance()
-                            if value is not Ellipsis:
-                                warning("prebuilt instance %r has no "
-                                        "attribute %r" % (value, name))
+                            #if value is not Ellipsis:
+                                #warning("prebuilt instance %r has no "
+                                #        "attribute %r" % (value, name))
                             llattrvalue = r.lowleveltype._defl()
                         else:
                             llattrvalue = r.convert_desc_or_const(attrvalue)


More information about the pypy-commit mailing list