Steve Dower <[email protected]> added the comment:
Serhiy is exactly right, but to emphasise, the best way to do paths now is to use argument clinic with its path_t type. On Windows, .narrow is a flag that indicates whether you should PyUnicode_FSEncode() any results before returning them, and .wide is always initialized correctly. Do not use any *A APIs - only *W from now on :) ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue34384> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
