Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision 63563cdf9d3afe0bdffaece7b92b0a56d2360397 authored by R. David Murray on 18 December 2010, 18:25:38 UTC, committed by R. David Murray on 18 December 2010, 18:25:38 UTC
Such addresses are not RFC compliant except under the 'obsolete syntax'
rules, but before this fix the whitespace was dropped from the input,
concatenating the pieces.  That breaks one of the principles of the
email package, that of preserving the input as much as possible.
It also denies the application program the opportunity to apply its
own heuristics to interpretation of such non-compliant addresses.

It is possible users of the email package were depending on the local
part always being a single token, so this fix will not be backported.
1 parent 2b37ce7
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 556 bytes
.gitignore -rw-r--r-- 566 bytes
.hgeol -rw-r--r-- 503 bytes
.hgignore -rw-r--r-- 771 bytes
.hgtags -rw-r--r-- 4.0 KB
LICENSE -rw-r--r-- 14.2 KB
Makefile.pre.in -rw-r--r-- 41.5 KB
README -rw-r--r-- 6.4 KB
configure -rwxr-xr-x 395.7 KB
configure.in -rw-r--r-- 121.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.7 KB
setup.py -rw-r--r-- 78.3 KB

README

back to top