[Python-Dev] redefining is (original) (raw)
Neil Schemenauer nas-python at python.ca
Fri Mar 19 15:04:30 EST 2004
- Previous message: [Python-Dev] redefining is
- Next message: [Python-Dev] redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 19, 2004 at 01:03:24PM -0500, Andrew Koenig wrote:
The thing is that some people expect expressions such as
"Hello" is "Hello" to yield True under all circumstances, and they don't.
Is that really the case or do they use 'is' because they think that it will make their program go faster? I would expect that novice users would envision that statement creating two strings.
Neil
- Previous message: [Python-Dev] redefining is
- Next message: [Python-Dev] redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]