Jean-Paul Calderone schrieb: >> How would you propose listdir should behave? > > Umm, just a wild guess, but how about raising an exception which includes > the name of the file which could not be decoded?
There may be multiple of these, of course, but I assume that you want it to report the first one it encounters? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list