[Python-3000] set literals

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jul 11 02:23:39 CEST 2006


Raymond Hettinger wrote:

> The outermost set coercion is not especially attractive or efficient.  
> Since equality/inequality is an important set operation, we would likely 
> need to add a method for equality testing that ignores dict values:

Or coerction to a set could return a "set view" that
only exposes keys.

--
Greg


More information about the Python-3000 mailing list