7 months ago Paul Boddie Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality.
     1 from sys import lstdin     2      3 print lstdin                        # < instance>     4 print lstdin.encoding               # ISO-8859-15     5 print "Reading 10 bytes..."     6 s =     7 print s     8      9 print "Reading to end of file..."    10 s =    11 print s