Author: Ronan Lamy <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit