New submission from Roger Aiudi <aiudi...@gmail.com>:

PurePath.__truediv__ and __rtruediv__ raise a TypeError when passed something 
which is not an instance of string or PurePath. This prevents creating any sort 
of compatible class that doesn't inherit from the previously mentioned types.

----------
components: Library (Lib)
messages: 326140
nosy: Roger Aiudi
priority: normal
pull_requests: 8915
severity: normal
status: open
title: pathlib.PurePath division raises TypeError instead of returning 
NotImplemented
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34775>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to