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 ethan.furman
Recipients Antony.Lee, ethan.furman, r.david.murray
Date 2016-05-31.02:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464663491.7.0.482817145245.issue27161@psf.upfronthosting.co.za>
In-reply-to
Content
I think the request is to raise a single PathlibError instead of the broad range of possible errors.  Something like:

try:
   blah blah
except TypeError as e:
   raise PathlibError(str(e))

Since pathlib is a high level library this seems appropriate.
History
Date User Action Args
2016-05-31 02:58:11ethan.furmansetrecipients: + ethan.furman, r.david.murray, Antony.Lee
2016-05-31 02:58:11ethan.furmansetmessageid: <1464663491.7.0.482817145245.issue27161@psf.upfronthosting.co.za>
2016-05-31 02:58:11ethan.furmanlinkissue27161 messages
2016-05-31 02:58:11ethan.furmancreate