Bar Harel <[email protected]> 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 <[email protected]> wrote: > > Brett Cannon <[email protected]> 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 <[email protected]> > <https://bugs.python.org/issue38878> > _______________________________________ > ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue38878> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
