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 eric.smith
Recipients Ricyteach, eric.smith
Date 2018-05-09.22:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm okay with the concept, but I don't know how to implement it. You need to not only know if a class has a __init__, but also if it's expected to be called.

For example, these don't normally get called, but if you inherit from them (and everyone does inherit from object) you don't want a warning.

>>> hasattr(int, '__init__')
>>> hasattr(object, '__init__')

I'm open to ideas.
Date User Action Args
2018-05-09 22:38:47eric.smithsetrecipients: + eric.smith, Ricyteach
2018-05-09 22:38:47eric.smithsetmessageid: <>
2018-05-09 22:38:47eric.smithlinkissue33452 messages
2018-05-09 22:38:47eric.smithcreate