New issue 2326: empty tuple is not a singleton on pypy
https://bitbucket.org/pypy/pypy/issues/2326/empty-tuple-is-not-a-singleton-on-pypy

Daniel Holth:

Not sure if this is a documented difference. The empty tuple appears to be a 
singleton on CPython but not on pypy. This function returns True on Python 2.7 
and False on PyPy 5.3.0.

```
#!python

a = ()
b = ()
a is b
```



_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to