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 serhiy.storchaka
Recipients barry, brandon-rhodes, eric.araujo, joegod, ncoghlan, r.david.murray, serhiy.storchaka
Date 2014-08-04.07:21:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407136906.4.0.89862802921.issue21091@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately this will silently break existing code because msg.is_attachment will be always true. But it is possible to make EmailMessage.is_attachment a property which returns special callable with the __bool__() method which will emit deprecation warning and call the __call__() method. After some intermediate period (one or two releases) it can be replaced by regular method.
History
Date User Action Args
2014-08-04 07:21:46serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ncoghlan, eric.araujo, r.david.murray, brandon-rhodes, joegod
2014-08-04 07:21:46serhiy.storchakasetmessageid: <1407136906.4.0.89862802921.issue21091@psf.upfronthosting.co.za>
2014-08-04 07:21:46serhiy.storchakalinkissue21091 messages
2014-08-04 07:21:46serhiy.storchakacreate