Issue1052913
Created on 2004-10-23.20:47:53 by anonymous, last changed 2004-10-23.22:00:37 by pedronis.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2004-10-23 20:47:53 | anonymous | create | |
Created on 2004-10-23.20:47:53 by anonymous, last changed 2004-10-23.22:00:37 by pedronis.
| Messages | |||
|---|---|---|---|
| msg944 (view) | Author: Nobody/Anonymous (nobody) | Date: 2004-10-23.20:47:53 | |
Examples with various implementations of Python comparing the empty tuple to itself. Jython 2.1 on java1.4.2_05 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> () is () 0 Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> () is () True Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> () is () 1 Python 1.5.2 (#0, Jun 10 2002, 15:44:54) [MSC 32 bit (Intel)] on win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> () is () 1 |
|||
| msg945 (view) | Author: Samuele Pedroni (pedronis) | Date: 2004-10-23.22:00:37 | |
Logged In: YES user_id=61408 the fact that the empty tuple is a singleton in CPython is an implementation detail. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2004-10-23 20:47:53 | anonymous | create | |
Supported by Python Software Foundation,
Powered by Roundup