Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r84688:8360db465992 Date: 2016-05-25 18:16 +0200 http://bitbucket.org/pypy/pypy/changeset/8360db465992/
Log: Probably a better version, not always returning True (the other version makes the annotator constant-fold tests on that value) diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --- a/pypy/module/micronumpy/compile.py +++ b/pypy/module/micronumpy/compile.py @@ -125,7 +125,7 @@ return None def issubtype_w(self, w_sub, w_type): - return True + return w_sub is w_type def isinstance_w(self, w_obj, w_tp): try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit