[issue34186] [3.6.6 on macOS] os.listdir replacing "/" with ":"

Zachary Ware report at bugs.python.org
Sat Jul 21 23:10:33 EDT 2018


Zachary Ware <zachary.ware at gmail.com> added the comment:

That's nothing to do with Python and everything to do with macOS.  As a test, open Terminal, do `ls ~/Example`, and you'll see `AC:DC` instead of `AC/DC`.  As a further test, do `mkdir ~/Example/dir:with:colons` and then have a look in Finder.

See here [1] for more information.

[1] https://apple.stackexchange.com/questions/173529/when-did-the-colon-character-become-an-allowed-character-in-the-filesystem

----------
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34186>
_______________________________________


More information about the Python-bugs-list mailing list