A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-March/043348.html below:

[Python-Dev] redefining is

[Python-Dev] redefining is [Python-Dev] redefining isAndrew Koenig ark-mlist at att.net
Fri Mar 19 17:13:59 EST 2004
> Sorry, if you're usign *any* immutable value there and expecting it to
> be a unique object, you're cruisin' for a bruisin', so to speak.  The
> language spec explicitly *allows* but does not *require* the
> implementation to cache and reuse immutable values.

Ay, there's the rub.

Aren't you saying that using "is" to compare immutables is always broken,
unless you know that the immutable values are singletons?



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4