Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: PyUnicode_FSConverter returns bytes and bytearray objects unchanged; otherwise it always return bytes.
Your patch should handle the case when name2 is a bytearray. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com