ANN: set-0.2 module available

Coady coady at bent-arrow.com
Fri May 17 14:38:08 EDT 2002


Located at http://bent-arrow.com/python and the Vaults of Parnassus.

This extension module implements a set type, similar to PEP 218. 
Changes since version 0.1 include some bug fixes and the features
below, based on feedback.

-  The set hashing function is no longer brain-dead.  Thanks to Kevin
Jacobs.
-  Set comparison has been better optimized.
-  Sets have two new (read&write) boolean attributes:  'mutable' and
'hashable'.  At the risk of feature bloat, this should allow complete
flexibility.  The default is still the same:  hashable and mutable,
but becomes immutable upon first (successful) hashing.

Thanks for the comments,

-Coady





More information about the Python-list mailing list