[pypy-svn] pypy default: Disable this warning. They obscure real warnings. If someone cares enough,

fijal commits-noreply at bitbucket.org
Tue Jan 18 14:33:38 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r40852:f2bb1cf40957
Date: 2011-01-18 15:25 +0200
http://bitbucket.org/pypy/pypy/changeset/f2bb1cf40957/

Log:	Disable this warning. They obscure real warnings. If someone cares
	enough, please fix other warnings

diff --git a/pypy/annotation/classdef.py b/pypy/annotation/classdef.py
--- a/pypy/annotation/classdef.py
+++ b/pypy/annotation/classdef.py
@@ -124,9 +124,9 @@
                                                     "allowed" %
                                                     (self.name, homedef)
                                                     )
-                                self.bookkeeper.warning("demoting method %s "
-                                                        "to base class %s" % 
-                                                        (self.name, homedef))
+                                #self.bookkeeper.warning("demoting method %s "
+                                #                        "to base class %s" % 
+                                #                        (self.name, homedef))
                                 break
 
         # check for attributes forbidden by slots or _attrs_


More information about the Pypy-commit mailing list