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 thautwarm
Recipients Anthony Sottile, docs@python, serhiy.storchaka, srittau, thautwarm
Date 2018-10-17.08:27:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539764828.78.0.788709270274.issue35001@psf.upfronthosting.co.za>
In-reply-to
Content
@Anthony

> I don't think mypy has an annotation for "sometimes has an attribute"

Yes.. The annotation for an attribute that **maybe exist** cannot be expressed by mypy..
History
Date User Action Args
2018-10-17 08:27:08thautwarmsetrecipients: + thautwarm, srittau, docs@python, serhiy.storchaka, Anthony Sottile
2018-10-17 08:27:08thautwarmsetmessageid: <1539764828.78.0.788709270274.issue35001@psf.upfronthosting.co.za>
2018-10-17 08:27:08thautwarmlinkissue35001 messages
2018-10-17 08:27:08thautwarmcreate