Staging
v0.5.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
History
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
Tip revision: abfc374
File Mode Size
RPM
TextMate
Vim
ACKS -rw-r--r-- 16.7 KB
HISTORY -rw-r--r-- 713.8 KB
NEWS -rw-r--r-- 332.1 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.6 KB
README.AIX -rw-r--r-- 5.0 KB
README.coverity -rw-r--r-- 845 bytes
README.valgrind -rw-r--r-- 4.3 KB
SpecialBuilds.txt -rw-r--r-- 10.7 KB
gdbinit -rw-r--r-- 4.7 KB
indent.pro -rw-r--r-- 557 bytes
python-config.in -rw-r--r-- 1.8 KB
python-wing3.wpr -rw-r--r-- 555 bytes
python-wing4.wpr -rw-r--r-- 835 bytes
python.man -rw-r--r-- 12.9 KB
python.pc.in -rw-r--r-- 293 bytes
svnmap.txt -rw-r--r-- 4.1 MB
valgrind-python.supp -rw-r--r-- 8.1 KB
vgrindefs -rw-r--r-- 500 bytes

README

back to top