Message224693
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. | |
| Date | User | Action | Args | | 2014-08-04 07:21:46 | serhiy.storchaka | set | recipients: + serhiy.storchaka, barry, ncoghlan, eric.araujo, r.david.murray, brandon-rhodes, joegod | | 2014-08-04 07:21:46 | serhiy.storchaka | set | messageid: <1407136906.4.0.89862802921.issue21091@psf.upfronthosting.co.za> | | 2014-08-04 07:21:46 | serhiy.storchaka | link | issue21091 messages | | 2014-08-04 07:21:46 | serhiy.storchaka | create | | |