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 iritkatriel
Recipients alex, brian.curtin, daniel.urban, iritkatriel, loewis, michael.foord, ncoghlan, pitrou, stutzbach, twouters, vstinner
Date 2021-12-01.16:36:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638376565.65.0.121264010143.issue11455@roundup.psfhosted.org>
In-reply-to
Content
Reproduced on 3.11.

>>> A = type("A", (object,), {42: "abc"})
>>> dir(A())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'int' and 'str'
History
Date User Action Args
2021-12-01 16:36:05iritkatrielsetrecipients: + iritkatriel, loewis, twouters, ncoghlan, pitrou, vstinner, stutzbach, alex, michael.foord, brian.curtin, daniel.urban
2021-12-01 16:36:05iritkatrielsetmessageid: <1638376565.65.0.121264010143.issue11455@roundup.psfhosted.org>
2021-12-01 16:36:05iritkatriellinkissue11455 messages
2021-12-01 16:36:05iritkatrielcreate