Serhiy Storchaka added the comment: Looks as this is a duplicate of issue13247. And Victor submitted a patch with approach similar to me (except that my patch does not raises an exception, but returns an unicode for unencodable names).
It looks as longliving design bug and perhaps really be closed as "won't fix". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16656> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com