Terry J. Reedy <[email protected]> added the comment:
I think pathlib should be raising TypeError, ValueError, or something else as
appropriate. Or not raising in situations Eryk indicated. x/0 *could* be +-
float('inf'), but we don't raise NotImplementedError for it.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46733>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com