[pypy-commit] pypy annotator: Kill useless 'no precise annotation' warning
rlamy
noreply at buildbot.pypy.org
Sat Dec 14 12:47:54 CET 2013
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: annotator
Changeset: r68438:4fdc3b6d77d5
Date: 2013-12-14 12:38 +0100
http://bitbucket.org/pypy/pypy/changeset/4fdc3b6d77d5/
Log: Kill useless 'no precise annotation' warning
diff --git a/rpython/annotator/model.py b/rpython/annotator/model.py
--- a/rpython/annotator/model.py
+++ b/rpython/annotator/model.py
@@ -798,11 +798,6 @@
def missing_operation(cls, name):
def default_op(*args):
- for arg in args:
- if arg.__class__ is SomeObject and arg.knowntype is not type:
- return SomeObject()
- bookkeeper = rpython.annotator.bookkeeper.getbookkeeper()
- bookkeeper.warning("no precise annotation supplied for %s%r" % (name, args))
return s_ImpossibleValue
setattr(cls, name, default_op)
More information about the pypy-commit
mailing list