• R David Murray's avatar
    #10839: raise an error on add of duplicate unique headers in new email policies · abfc3749
    R David Murray yazdı
    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.
    abfc3749
Adı
Son kayıt (commit)
Son güncelleme
..
c-api Loading commit data...
data Loading commit data...
distutils Loading commit data...
extending Loading commit data...
faq Loading commit data...
howto Loading commit data...
includes Loading commit data...
install Loading commit data...
library Loading commit data...
packaging Loading commit data...
reference Loading commit data...
tools Loading commit data...
tutorial Loading commit data...
using Loading commit data...
whatsnew Loading commit data...
ACKS.txt Loading commit data...
Makefile Loading commit data...
README.txt Loading commit data...
about.rst Loading commit data...
bugs.rst Loading commit data...
conf.py Loading commit data...
contents.rst Loading commit data...
copyright.rst Loading commit data...
glossary.rst Loading commit data...
license.rst Loading commit data...
make.bat Loading commit data...