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 eric.araujo
Recipients eric.araujo, r.david.murray
Date 2012-03-17.02:54:56
SpamBayes Score 0.00014508242
Marked as misclassified No
Message-id <1331952898.09.0.346715938946.issue14344@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import email.policy as p
>>> p.default
Policy()
>>> p.HTTP
Policy(["linesep='\\r\\n'", 'max_line_length=None'])

I think you wanted Policy(linesep='\r\n', max_line_length=None); the problem comes from __repr__ where a format field is replaced by a list, which should have been something ', '.join(args) instead.

I can commit this minor thing if you want, I just wanted to check if I was right first.
History
Date User Action Args
2012-03-17 02:54:58eric.araujosetrecipients: + eric.araujo, r.david.murray
2012-03-17 02:54:58eric.araujosetmessageid: <1331952898.09.0.346715938946.issue14344@psf.upfronthosting.co.za>
2012-03-17 02:54:57eric.araujolinkissue14344 messages
2012-03-17 02:54:56eric.araujocreate