[issue21300] Docs (incorrectly) suggest email.policy.default is the default policy
New submission from Merlijn van Deen: Which would make sense, but email.policy.Compat32 is *actually* the default policy. This patch adapts the documentation to reflect this. ---------- assignee: docs@python components: Documentation files: defaultpolicy.diff keywords: patch messages: 216783 nosy: docs@python, r.david.murray, valhallasw priority: normal severity: normal status: open title: Docs (incorrectly) suggest email.policy.default is the default policy versions: Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file34964/defaultpolicy.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
Changes by R. David Murray <rdmurray@bitdance.com>: ---------- components: +email nosy: +barry _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
Roundup Robot added the comment: 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 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
R. David Murray added the comment: 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). ---------- resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
Merlijn van Deen added the comment: 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 ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
Roundup Robot added the comment: 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 ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
R. David Murray added the comment: That was actually copy and paste of an existing typo, which I've also now fixed. Thanks. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21300> _______________________________________
participants (3)
-
Merlijn van Deen
-
R. David Murray
-
Roundup Robot