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.

classification
Title: Docs (incorrectly) suggest email.policy.default is the default policy
Type: Stage: resolved
Components: Documentation, email Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: barry, docs@python, python-dev, r.david.murray, valhallasw
Priority: normal Keywords: patch

Created on 2014-04-18 13:51 by valhallasw, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
defaultpolicy.diff valhallasw, 2014-04-18 13:51 review
Messages (6)
msg216783 - (view) Author: Merlijn van Deen (valhallasw) * Date: 2014-04-18 13:51
Which would make sense, but email.policy.Compat32 is *actually* the default policy. This patch adapts the documentation to reflect this.
msg218032 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-05-07 01:34
New changeset d994d75cce95 by R David Murray in branch '3.4':
#21300: Clean up the docs for the email "policy" arguments.
http://hg.python.org/cpython/rev/d994d75cce95

New changeset 63fa945119cb by R David Murray in branch 'default':
Merge: #21300: Clean up the docs for the email "policy" arguments.
http://hg.python.org/cpython/rev/63fa945119cb
msg218033 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-05-07 01:35
Thanks for the heads up.

policy.default will become the default policy eventually, but first the new stuff has to get out of provisional status (which I expect will happen in 3.5).

I did a pass over the documentation of all of the policy arguments and cleaned things up.  The policy args got added at different points during development and this is the first time I looked at all of them together.  There were a number of inconsistencies (and a couple more errors).
msg218110 - (view) Author: Merlijn van Deen (valhallasw) * Date: 2014-05-08 13:37
Small typo that slipped in:

'udpate' instead of 'update' on the following lines:

http://hg.python.org/cpython/rev/63fa945119cb#l2.18
http://hg.python.org/cpython/rev/63fa945119cb#l2.43
http://hg.python.org/cpython/rev/63fa945119cb#l2.66
msg218112 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-05-08 14:06
New changeset 9e55089aa505 by R David Murray in branch '3.4':
#21300: fix typo
http://hg.python.org/cpython/rev/9e55089aa505

New changeset 232938736a31 by R David Murray in branch 'default':
Merge #21300: fix typo
http://hg.python.org/cpython/rev/232938736a31
msg218113 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-05-08 14:07
That was actually copy and paste of an existing typo, which I've also now fixed.  Thanks.
History
Date User Action Args
2022-04-11 14:58:02adminsetgithub: 65499
2014-05-08 14:07:12r.david.murraysetmessages: + msg218113
2014-05-08 14:06:34python-devsetmessages: + msg218112
2014-05-08 13:37:54valhallaswsetmessages: + msg218110
2014-05-07 01:35:20r.david.murraysetstatus: open -> closed
versions: - Python 3.3
messages: + msg218033

resolution: fixed
stage: resolved
2014-05-07 01:34:17python-devsetnosy: + python-dev
messages: + msg218032
2014-05-07 01:29:35r.david.murraysetnosy: + barry
components: + email
2014-04-18 13:51:28valhallaswcreate