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, python-dev, r.david.murray, serhiy.storchaka, tshepang
Date 2016-01-06.19:50:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So, I added docs, mentioning the getattr(arg, 'path', arg) idiom, and (for 3.5 and 3.6) also cross-referencing with DirEntry.

I'm not sure whether to now close this issue or whether to leave it open to remind people of adding patches using the new idiom to various stdlib modules. Opinions?

Also, since pathlib is provisional, I felt okay with adding this to 3.4.5 and 3.5.2.
Date User Action Args
2016-01-06 19:50:24gvanrossumsetrecipients: + gvanrossum, barry, brett.cannon, georg.brandl, pitrou, bronger, ezio.melotti, Arfrever, r.david.murray, daniel.ugra, cool-RR, tshepang, python-dev, serhiy.storchaka
2016-01-06 19:50:24gvanrossumsetmessageid: <>
2016-01-06 19:50:24gvanrossumlinkissue22570 messages
2016-01-06 19:50:24gvanrossumcreate