Staging
v0.5.1
https://github.com/python/cpython
Revision bf838227c35212709dc43b3c3c57f8e1655c1d24 authored by Mark Sapiro on 19 October 2020, 22:49:19 UTC, committed by GitHub on 19 October 2020, 22:49:19 UTC


This PR replaces #1977. The reason for the replacement is two-fold.

The fix itself is different is that if the CTE header doesn't exist in the original message, it is inserted. This is important because the new CTE could be quoted-printable whereas the original is implicit 8bit.

Also the tests are different. The test_nonascii_as_string_without_cte test in #1977 doesn't actually test the issue in that it passes without the fix. The test_nonascii_as_string_without_content_type_and_cte test is improved here, and even though it doesn't fail without the fix, it is included for completeness.

Automerge-Triggered-By: @warsaw
1 parent 1438c2a
History
Tip revision: bf838227c35212709dc43b3c3c57f8e1655c1d24 authored by Mark Sapiro on 19 October 2020, 22:49:19 UTC
bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074)
Tip revision: bf83822
File Mode Size
build-steps.yml -rw-r--r-- 3.1 KB
checkout.yml -rw-r--r-- 1.1 KB
find-sdk.yml -rw-r--r-- 619 bytes
gpg-sign.yml -rw-r--r-- 850 bytes
layout-command.yml -rw-r--r-- 638 bytes
mingw-lib.yml -rw-r--r-- 591 bytes
msi-steps.yml -rw-r--r-- 4.4 KB
stage-build.yml -rw-r--r-- 3.9 KB
stage-layout-embed.yml -rw-r--r-- 1.8 KB
stage-layout-full.yml -rw-r--r-- 2.2 KB
stage-layout-msix.yml -rw-r--r-- 3.3 KB
stage-layout-nuget.yml -rw-r--r-- 1.5 KB
stage-msi.yml -rw-r--r-- 814 bytes
stage-pack-msix.yml -rw-r--r-- 4.5 KB
stage-pack-nuget.yml -rw-r--r-- 1.0 KB
stage-publish-nugetorg.yml -rw-r--r-- 1.4 KB
stage-publish-pythonorg.yml -rw-r--r-- 5.2 KB
stage-publish-store.yml -rw-r--r-- 983 bytes
stage-sign.yml -rw-r--r-- 3.7 KB
stage-test-embed.yml -rw-r--r-- 991 bytes
stage-test-msi.yml -rw-r--r-- 3.2 KB
stage-test-nuget.yml -rw-r--r-- 1.3 KB

back to top