Author: Maciej Fijalkowski <[email protected]>
Branch: kill-someobject
Changeset: r57992:84caf75df304
Date: 2012-10-10 22:50 +0200
http://bitbucket.org/pypy/pypy/changeset/84caf75df304/
Log: too bad, it works if we pass None (and people rely on it)
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -720,7 +720,6 @@
# expected programming style where we say "if x is None" or
# "if x is object").
assert w_two is not None
- assert w_one is not None
return w_two.is_w(self, w_one)
def is_none(self, w_obj):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit