This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author glaubich
Recipients glaubich, izbyshev, levkivskyi
Date 2018-09-21.10:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537526845.37.0.956365154283.issue34760@psf.upfronthosting.co.za>
In-reply-to
Content
I just realized this while trying to use the openstack command line tools on python3.7. After reading issue33018 and the fact that even in python2

class B:
    pass

def f():
    pass

issubclass(f, B)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: issubclass() arg 1 must be a class

... I am sure, the new behavior is the correct one. I would be totally fine with closing this issue, and hoping not too many code depend on the strange old behavior :)
History
Date User Action Args
2018-09-21 10:47:25glaubichsetrecipients: + glaubich, levkivskyi, izbyshev
2018-09-21 10:47:25glaubichsetmessageid: <1537526845.37.0.956365154283.issue34760@psf.upfronthosting.co.za>
2018-09-21 10:47:25glaubichlinkissue34760 messages
2018-09-21 10:47:25glaubichcreate