Message357209
Hey Brett, that's exactly the bug. It's supposed to be False ofc.
On Thu, Nov 21, 2019, 9:45 PM Brett Cannon <report@bugs.python.org> wrote:
>
> Brett Cannon <brett@python.org> added the comment:
>
> I can't reproduce in Python 3.8.0:
>
> >>> import os
> >>> class A(os.PathLike): pass
> ...
> >>> class B:
> ... def __fspath__(self): pass
> ...
> >>> issubclass(B, A)
> True
>
> Did you check against an older version of Python?
>
> ----------
> resolution: -> not a bug
> stage: -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue38878>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-11-21 20:00:51 | bar.harel | set | recipients:
+ bar.harel, brett.cannon |
2019-11-21 20:00:51 | bar.harel | link | issue38878 messages |
2019-11-21 20:00:50 | bar.harel | create | |
|