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/2007-February/071083.html below:

[Python-Dev] Interning string subtype instances

[Python-Dev] Interning string subtype instances [Python-Dev] Interning string subtype instancesGreg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 14 01:57:42 CET 2007
Martin v. Löwis wrote:

> OTOH, in an application that needs unique strings, you normally know
> what the scope is (i.e. where the strings come from, and when they
> aren't used anymore).

That's true -- if you know that all relevant strings have
been interned using the appropriate method, you can just
use 'is' to compare them.

--
Greg

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