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 joegod
Recipients barry, brandon-rhodes, eric.araujo, joegod, ncoghlan, r.david.murray, serhiy.storchaka
Date 2014-08-04.11:15:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407150955.27.0.883225437868.issue21091@psf.upfronthosting.co.za>
In-reply-to
Content
Very good point, Serhiy.

Here is an alternative patch, which instead changes Message.is_multipart from a method to a property as per your suggestion. This way incorrect usage should fail noisily.

This patch is against the relevant docs, tests, is_multipart and calls to is_multipart only.
History
Date User Action Args
2014-08-04 11:15:55joegodsetrecipients: + joegod, barry, ncoghlan, eric.araujo, r.david.murray, brandon-rhodes, serhiy.storchaka
2014-08-04 11:15:55joegodsetmessageid: <1407150955.27.0.883225437868.issue21091@psf.upfronthosting.co.za>
2014-08-04 11:15:55joegodlinkissue21091 messages
2014-08-04 11:15:55joegodcreate