[issue18584] examples in email.policy doc are fu'd

2013-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b86be4e822c by R David Murray in branch '3.3': #18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1. http://hg.python.org/cpython/rev/7b86be4e822c New changeset 1901a04a3b4a by R David Murray in branch 'default': Merge #18584:

[issue18584] examples in email.policy doc are fu'd

2013-07-29 Thread rurpy
New submission from rurpy: In the first example in the documentation for library module email.policy (http://docs.python.org/3/library/email.policy.html#module-email.policy): from email import msg_from_binary_file from email.generator import BytesGenerator from subprocess import

[issue18584] examples in email.policy doc are fu'd

2013-07-29 Thread R. David Murray
R. David Murray added the comment: Thank you for the report. We currently don't have automated testing of the doctest strings, and I must have neglected to hand test those examples before release. I will fix (and test!) them ASAP. -- components: +email nosy: +barry, r.david.murray

[issue18584] examples in email.policy doc are fu'd

2013-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffc7ea3c04a5 by R David Murray in branch '3.3': #18584: make doctest examples in email documentation pass. http://hg.python.org/cpython/rev/ffc7ea3c04a5 New changeset 206685a4b19c by R David Murray in branch 'default': Merge #18584: make doctest

[issue18584] examples in email.policy doc are fu'd

2013-07-29 Thread R. David Murray
R. David Murray added the comment: OK, this fixed. The 'as_string' example will still fail, as I never added the policy argument to that method. I'll deal with that in a separate issue. Unfortunately it is quite possible there are other errors in the new docs, since they are new...I will