[pypy-commit] pypy default: Turn off reporting const-fold errors as WARNINGs. This gives quite a
arigo
noreply at buildbot.pypy.org
Wed Nov 30 02:43:54 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r49988:12a0a0c0eb4a
Date: 2011-11-29 22:32 +0100
http://bitbucket.org/pypy/pypy/changeset/12a0a0c0eb4a/
Log: Turn off reporting const-fold errors as WARNINGs. This gives quite
a bunch of warnings in any C translation, and I've never had any use
of them over the years, so well.
diff --git a/pypy/translator/backendopt/constfold.py b/pypy/translator/backendopt/constfold.py
--- a/pypy/translator/backendopt/constfold.py
+++ b/pypy/translator/backendopt/constfold.py
@@ -37,8 +37,9 @@
except (KeyboardInterrupt, SystemExit):
raise
except Exception, e:
- log.WARNING('constant-folding %r:' % (spaceop,))
- log.WARNING(' %s: %s' % (e.__class__.__name__, e))
+ pass # turn off reporting these as warnings: useless
+ #log.WARNING('constant-folding %r:' % (spaceop,))
+ #log.WARNING(' %s: %s' % (e.__class__.__name__, e))
else:
# success in folding this space operation
if spaceop.opname in fixup_op_result:
More information about the pypy-commit
mailing list