[issue32693] os.path.ismount does not accept bytes objects

2018-01-28 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> support bytes paths in nt _getdiskusage, _getvolumepathname, and _getfinalpathname ___ Python tracker

[issue32693] os.path.ismount does not accept bytes objects

2018-01-28 Thread Nikolay Aleksandrovich Pavlov
New submission from Nikolay Aleksandrovich Pavlov : According to the documentation it ought to accept any path-like object, but actually throws for bytes ones. The trace of logic is the following: 1. ismount() from Lib/ntpath.py is using `os.fpath` which may return either