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 r.david.murray
Recipients TheRegRunner, docs@python, r.david.murray
Date 2015-08-04.03:08:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hmm.  I see.  The problem is that our desire to quote conflicts with mailcap's attempts to quote.

I now agree with you that run-mailcap's approach is correct, but creating a temporary alias is out of scope for findmatch.  That would need to be done by findmatch's caller.

I think we should add a documentation note about the problem and the solution.  I don't see any reliable way to detect the problem and raise an error for the same reason that quoting doesn't work. (The aliasing can tolerate false positives; but, for backward compatibility reasons, an error detection function here cannot.)

It would be possible to add a helper for the aliasing to 3.6, but if someone wants to propose that they should open an new issue for the enhancement.

Date User Action Args
2015-08-04 03:08:56r.david.murraysetrecipients: + r.david.murray, docs@python, TheRegRunner
2015-08-04 03:08:56r.david.murraysetmessageid: <>
2015-08-04 03:08:56r.david.murraylinkissue24778 messages
2015-08-04 03:08:56r.david.murraycreate