Martin v. Löwis wrote: >> How about returning two lists, first list contains unicode names, the >> second list contains undecodable names: >> >> files, troublesome = os.listdir(separate_errors=True) >> >> and make separate_errors=True by default in python 3.0 ? > > That would be quite an incompatible change, no?
it also violates a fundamental design rule for the standard library. </F> -- http://mail.python.org/mailman/listinfo/python-list