[Python-Dev] Pathlib enhancments - method name only (original) (raw)
Brett Cannon brett at python.org
Fri Apr 8 15:24:44 EDT 2016
- Previous message (by thread): [Python-Dev] Pathlib enhancments - method name only
- Next message (by thread): [Python-Dev] Pathlib enhancments - method name only
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 8 Apr 2016 at 12:10 Chris Angelico <rosuav at gmail.com> wrote:
On Sat, Apr 9, 2016 at 5:03 AM, Chris Barker <chris.barker at noaa.gov> wrote: > On Fri, Apr 8, 2016 at 11:34 AM, Koos Zevenhoven <k7hoven at gmail.com> wrote: >> >> > >> > pathstr # pathstring >> > >> >> Or perhaps pathstring in case it may be or return byte strings. > > > I'm fine with pathstring , but I thought it was already decided that it > would NOT return a bytestring!
I sincerely hope that's been settled on. There's no reason to have this ever return anything other than a str. (Famous last words, I know.)
It has been settled: pathlib.Path itself won't accept bytes anyway so there's no reason to expect this to ever return anything but str. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160408/1b211a35/attachment.html>
- Previous message (by thread): [Python-Dev] Pathlib enhancments - method name only
- Next message (by thread): [Python-Dev] Pathlib enhancments - method name only
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]