Tim Roberts wrote: > I think that's a perfectly reasonable thing to expect. At the risk of > over-generalization, there is no good reason why, by this point in time, > all of the standard library routines that accept strings shouldn't also > accept Unicode strings.However, file(fname), open(fname), os .*, os.path .*, time.strftime(format) take unicode parameters.
See http://bugs.python.org/issue2782 -- http://mail.python.org/mailman/listinfo/python-list