Ethan Furman added the comment: 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. ---------- nosy: +ethan.furman _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27161> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com