New submission from Barney Gale <barney.g...@gmail.com>:

`pathlib.Path.__bytes__()` calls `os.fsencode()` without using path's accessor. 
To properly isolate Path objects from the underlying local filesystem, this 
should be routed via the accessor object.

----------
messages: 363638
nosy: barneygale
priority: normal
severity: normal
status: open
title: `pathlib.Path.__bytes__()` calls `os.fsencode()` without using accessor

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39900>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to