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

Todd report at bugs.python.org
Sun Jul 22 09:57:13 EDT 2018


Todd <coleman45.1 at hotmail.com> added the comment:

Ah, thank you for the link. I looked for something like that, but I obviously didn’t use the right wording while searching. 

Sorry for the false report and thanks for the quick help.

-Todd

Sent from my iPhone

> On Jul 21, 2018, at 10:10 PM, Zachary Ware <report at bugs.python.org> wrote:
> 
> 
> 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>
> _______________________________________

----------

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


More information about the Python-bugs-list mailing list