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.21:59:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJ-gbKxggCc6tazoJJ6EhrFm-1fLLzBg7-CZoGA_-Vyeg@mail.gmail.com>
In-reply-to <1452114522.18.0.17593077441.issue22570@psf.upfronthosting.co.za>
Content
Let's say that the path attribute should be str or bytes -- this matches
the behavior of DirEntry. (But for pathlib.Path it is always a str.) It
cannot be None or FD. But note that the getattr(x, 'path', x) idiom returns
x unchanged if x is None or an FD (or a stream, for that matter).
History
Date User Action Args
2016-01-06 21:59:22gvanrossumsetrecipients: + 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 21:59:22gvanrossumlinkissue22570 messages
2016-01-06 21:59:22gvanrossumcreate