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 Mark.Shannon
Recipients Mark.Shannon, brandtbucher, erlendaasland, methane, pablogsal, vstinner
Date 2021-08-02.09:17:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627895836.78.0.661436031455.issue44206@roundup.psfhosted.org>
In-reply-to
Content
Pablo,

There is another failure on that buildbot: test_inspect fails with
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mark/repos/cpython/Lib/inspect.py", 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

Known issue or should I file a new issue? This issue is also present in 3.10.
History
Date User Action Args
2021-08-02 09:17:16Mark.Shannonsetrecipients: + Mark.Shannon, vstinner, methane, pablogsal, brandtbucher, erlendaasland
2021-08-02 09:17:16Mark.Shannonsetmessageid: <1627895836.78.0.661436031455.issue44206@roundup.psfhosted.org>
2021-08-02 09:17:16Mark.Shannonlinkissue44206 messages
2021-08-02 09:17:16Mark.Shannoncreate