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
c-api
data
distutils
extending
faq
howto
includes
install
library
packaging
reference
tools
tutorial
using
whatsnew
ACKS.txt -rw-r--r-- 4.7 KB
Makefile -rw-r--r-- 6.8 KB
README.txt -rw-r--r-- 5.1 KB
about.rst -rw-r--r-- 1.3 KB
bugs.rst -rw-r--r-- 3.3 KB
conf.py -rw-r--r-- 5.9 KB
contents.rst -rw-r--r-- 415 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 31.9 KB
license.rst -rw-r--r-- 46.2 KB
make.bat -rw-r--r-- 1.5 KB

README.txt

back to top