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 srittau
Recipients JelleZijlstra, dgelessus, docs@python, gvanrossum, kj, levkivskyi, miss-islington, srittau, xtreak
Date 2021-07-05.19:40:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Content is not referenced in either the tests or the implementation for pydoc. What happens is basically: is a class, so its derived from object. When formatting the docstring for object, the formatter queries the __module__ attribute of all sub-classes of object, including, so that it can include the sub-classes in its output:


Help on class object in module builtins:

class object
 |  The base class of the class hierarchy.
 |  When called, it accepts no arguments and returns a new featureless
 |  instance that has no instance attributes and cannot be given any.
 |  Built-in subclasses:
 |      anext_awaitable
 |      async_generator
 |      async_generator_asend
 |      async_generator_athrow
 |      ... and 88 other subclasses


Before the PR this failed, as accessing any printed the warning.
Date User Action Args
2021-07-05 19:40:12srittausetrecipients: + srittau, gvanrossum, docs@python, levkivskyi, JelleZijlstra, miss-islington, xtreak, dgelessus, kj
2021-07-05 19:40:12srittausetmessageid: <>
2021-07-05 19:40:12srittaulinkissue38291 messages
2021-07-05 19:40:12srittaucreate