Bar Harel <bzvi7...@gmail.com> added the comment:
Hey Brett, that's exactly the bug. It's supposed to be False ofc. On Thu, Nov 21, 2019, 9:45 PM Brett Cannon <rep...@bugs.python.org> wrote: > > Brett Cannon <br...@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 <rep...@bugs.python.org> > <https://bugs.python.org/issue38878> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38878> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com