IMAP4Server bodystructure body parameter parenthesized list too deeply parenthesized

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from biny <[email protected]>:

The third item in bodystructure is body parameter parenthesized list, RFC 3501 says:

         body parameter parenthesized list
            A parenthesized list of attribute/value pairs [e.g., ("foo"
            "bar" "baz" "rag") where "bar" is the value of "foo", and
            "rag" is the value of "baz"] as defined in [MIME-IMB].

twisted.mail.test.test_imap.NewFetchTestCase.testFetchBodyStructure expects

{{{
[['name', 'thing'], ['key', 'value']]
}}}

and this is clearly wrong.

----------
Type     : defect
Component: mail
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3949
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.