This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients Arfrever, barry, brett.cannon, bronger, cool-RR, daniel.ugra, ezio.melotti, georg.brandl, gvanrossum, pitrou, r.david.murray, tshepang
Date 2016-01-06.01:02:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Random idea: what if pathlib.Path defined a .path attribute that was a plain string? Then you could write p.path instead of str(p), and "if hasattr(p, 'path'): p = p.path". This would be the new protocol. Advantage is also that DirEntry (returned by the new os.scandir()) already supports it. :-)
Date User Action Args
2016-01-06 01:02:15gvanrossumsetrecipients: + gvanrossum, barry, brett.cannon, georg.brandl, pitrou, bronger, ezio.melotti, Arfrever, r.david.murray, daniel.ugra, cool-RR, tshepang
2016-01-06 01:02:15gvanrossumsetmessageid: <>
2016-01-06 01:02:15gvanrossumlinkissue22570 messages
2016-01-06 01:02:15gvanrossumcreate