On 22.06.2011 19:48, r.david.murray wrote:
> http://hg.python.org/cpython/rev/5a2602939d5d
> changeset:   70925:5a2602939d5d
> user:        R David Murray <rdmur...@bitdance.com>
> date:        Wed Jun 22 13:47:53 2011 -0400
> summary:
>   #1874: detect invalid multipart CTE and report it as a defect.
> 
> files:
>   Lib/email/errors.py               |   3 +
>   Lib/email/feedparser.py           |   5 ++
>   Lib/test/test_email/test_email.py |  45 +++++++++++++++++++
>   Misc/NEWS                         |   3 +
>   4 files changed, 56 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/Lib/email/errors.py b/Lib/email/errors.py
> --- a/Lib/email/errors.py
> +++ b/Lib/email/errors.py
> @@ -55,3 +55,6 @@
>  
>  class MultipartInvariantViolationDefect(MessageDefect):
>      """A message claimed to be a multipart but no subparts were found."""
> +
> +class InvalidMultipartContentTransferEncodingDefect(MessageDefect):
> +    """An invalid content transfer encoding was set on the multipart 
> itself."""

Dear Mr. Murray,

thank you very much for competing in the PSU's Longest Class Name in the
Standard Library competition.  Unfortunately, your class name of 45 characters
has been surpassed by four other contestants.

However, it is my pleasure to inform you that your entry wins the consolation
prize for the Longest Exception Name!  A framed certificate and a PSU-branded
wooden keyboard will be delivered to you shortly.

Yours sincerely,
the PSU ministry of silly stats


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to