[Python-3000] u'text' as an alias for 'text'?

Tony Meyer tony.meyer at gmail.com
Tue Apr 1 21:51:42 CEST 2008


On 24/03/2008, at 1:49 PM, Mike Meyer wrote:
> How many programs that used set.Set in 2.3 broke in 2.4
> when the set module vanished?

I presume you're referring to the "sets" module, and it has not gone  
anywhere in 2.x:

Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from sets import Set
 >>>

Cheers,
Tony


More information about the Python-3000 mailing list