[Python-ideas] One obvious way to do interning [Was: Retrieve an arbitrary element from a set without removing it]

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Oct 26 19:24:26 CET 2009

On Mon, Oct 26, 2009 at 1:29 PM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> Just to let you know that I created my own "SimpleSet" class for use in
> the Bazaar code base. And I did exactly this, overloading "Add" to also
> return the object added. It works pretty well.
Very interesting.  Is there a public web viewer for your branch?  I
tried http://code.python.org/loggerhead/, but it gives me 503 Service
Temporarily Unavailable.

More information about the Python-ideas mailing list