python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.09k forks source link

gh-118455: Fix mangle_from_ default value in email.policy.Policy.__doc__ #118456

Closed wimglenn closed 2 weeks ago

wimglenn commented 2 weeks ago

The docstring says it defaults to True, but it actually defaults to False. Only the Compat32 subclass overrides that, if I understand correctly (cc @bitdancer ).

miss-islington-app[bot] commented 2 weeks ago

Thanks @wimglenn for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. 🐍🍒⛏🤖

bedevere-app[bot] commented 2 weeks ago

GH-118586 is a backport of this pull request to the 3.12 branch.