Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision abfc37491cecb0a052d54c3bf0525ac140e94f7e authored by R David Murray on 29 May 2012, 13:14:44 UTC, committed by R David Murray on 29 May 2012, 13:14:44 UTC
This feature was supposed to be part of the initial email6 checkin, but it got lost in my big refactoring. In this patch I'm not providing an easy way to turn off the errors, but they only happen when a header is added programmatically, and it is almost never the right thing to do to allow the duplicate to be added. An application that needs to add duplicates of unique headers can create a policy subclass to allow it.
1 parent 6066fe1
Tip revision: abfc37491cecb0a052d54c3bf0525ac140e94f7e authored by R David Murray on 29 May 2012, 13:14:44 UTC
#10839: raise an error on add of duplicate unique headers in new email policies
#10839: raise an error on add of duplicate unique headers in new email policies
Tip revision: abfc374
File | Mode | Size |
---|---|---|
VC6 | ||
VS7.1 | ||
VS8.0 | ||
VS9.0 | ||
bdist_wininst | ||
example_nt | ||
icons | ||
os2emx | ||
os2vacpp | ||
WinMain.c | -rw-r--r-- | 449 bytes |
_msi.c | -rw-r--r-- | 31.4 KB |
config.c | -rw-r--r-- | 4.8 KB |
dl_nt.c | -rw-r--r-- | 4.3 KB |
dllbase_nt.txt | -rw-r--r-- | 3.5 KB |
empty.c | -rw-r--r-- | 137 bytes |
errmap.h | -rw-r--r-- | 2.1 KB |
errmap.mak | -rw-r--r-- | 95 bytes |
frozen_dllmain.c | -rw-r--r-- | 3.9 KB |
generrmap.c | -rw-r--r-- | 849 bytes |
getpathp.c | -rw-r--r-- | 24.5 KB |
icons.mak | -rw-r--r-- | 213 bytes |
icons.rc | -rw-r--r-- | 59 bytes |
make_versioninfo.c | -rw-r--r-- | 1.2 KB |
msvcrtmodule.c | -rwxr-xr-x | 13.9 KB |
py.ico | -rw-r--r-- | 19.3 KB |
pyc.ico | -rw-r--r-- | 19.3 KB |
pycon.ico | -rw-r--r-- | 19.3 KB |
pyconfig.h | -rw-r--r-- | 20.4 KB |
python.mk | -rw-r--r-- | 234 bytes |
python3.def | -rw-r--r-- | 34.6 KB |
python3.mak | -rw-r--r-- | 433 bytes |
python33gen.py | -rw-r--r-- | 584 bytes |
python33stub.def | -rw-r--r-- | 13.4 KB |
python3dll.c | -rw-r--r-- | 134 bytes |
python_exe.rc | -rw-r--r-- | 49 bytes |
python_nt.rc | -rw-r--r-- | 1.8 KB |
readme.txt | -rw-r--r-- | 4.2 KB |
testpy.py | -rw-r--r-- | 836 bytes |
w9xpopen.c | -rw-r--r-- | 3.6 KB |
winreg.c | -rw-r--r-- | 59.2 KB |
winsound.c | -rw-r--r-- | 5.5 KB |
Computing file changes ...