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 pablogsal
Recipients Mark.Shannon, pablogsal
Date 2021-08-02.09:55:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From :

  File "/home/mark/repos/cpython/Lib/", line 1154, in walktree
    classes.sort(key=attrgetter('__module__', '__name__'))
TypeError: '<' not supported between instances of 'str' and 'module'

I can reproduce that failure with a debug build and either of
./python -m test -R 3:3  test_inspect
./python -m test test_inspect -F
Date User Action Args
2021-08-02 09:55:50pablogsalsetrecipients: + pablogsal, Mark.Shannon
2021-08-02 09:55:50pablogsalsetmessageid: <>
2021-08-02 09:55:50pablogsallinkissue44808 messages
2021-08-02 09:55:50pablogsalcreate