| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
Patch by Oleg Plakhotnyuk.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
subclassable.
|
| |
| |
| |
| |
| |
| | |
Previously a Python 2.x compatible hack was used for
multiprocessing.sharedctypes.Array(). Also the documented
signature was wrong.
|
| |
| |
| |
| | |
Proxy classes in multiprocessing do not need these methods in Python 3.x.
|
| | |
|
| |
| |
| |
| | |
Patch by Sidney San Martín.
|
| |
| |
| |
| |
| | |
Add attrib keyword to Element and SubElement in _elementtree.
Patch developed with Ezio Melotti.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
|
| |
| |
| |
| |
| |
| | |
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
|
| | |
|
| | |
|
| |
| |
| |
| | |
changed Mac OS X computation to determine framework builds.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Roger Serwy.
|
| |
| |
| |
| |
| |
| | |
This commit also restores the news item for 167256 that it looks like
Terry inadvertently deleted. (Either that, or I don't understand
now merging works...which is equally possible.)
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Original patch by Roger Serwy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Which also means that it is now producing *something* for any base64
payload, which is what leads to the couple of older test changes in
test_email. This is a slightly backward incompatible behavior change,
but the new behavior is so much more useful than the old (you can now
*reliably* detect errors, and any program that was detecting errors by
sniffing for a base64 return from get_payload(decode=True) and then doing
its own error-recovery decode will just get the error-recovery decode
right away). So this seems to me to be worth the small risk inherent
in this behavior change.
This patch also refactors the defect tests into a separate test file,
since they are no longer just parser tests.
|
| |
| |
| |
| |
| |
| |
| | |
This patch also deprecates the MalformedHeaderDefect. My best guess is that
this defect was rendered obsolete by a refactoring of the parser, and the
corresponding defect for the new parser (which this patch introduces) was
overlooked.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When I made the checkin of the provisional email policy, I knew that
Address and Group needed to be made accessible from somewhere. The more
I looked at it, though, the more it became clear that since this is a
provisional API anyway, there's no good reason to hide headerregistry as
a private API. It was designed to ultimately be part of the public API,
and so it should be part of the provisional API.
This patch fully documents the headerregistry API, and deletes the
abbreviated version of those docs I had added to the provisional policy
docs.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
|
| |
| |
| |
| | |
issue #14857 without breaking imports
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
|
| |
| |
| |
| | |
even when parent window is closed. Patch by Roger Serwy.
|
| | |
|
|\ \
| |/
| |
| | |
Patch by Roger Serwy.
|
| |
| |
| |
| | |
Patch by Roger Serwy.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
smtpd now handles EHLO and has infrastructure for extended smtp command mode.
The SIZE extension is also implemented. In order to support parameters on
MAIL FROM, the RFC 5322 parser from the email package is used to parse the
address "token".
Logging subclasses things and overrides __init__, so it was necessary to
update those __init__ functions in the logging tests to make the logging tests
pass.
The original suggestion and patch were by Alberto Trevino. Juhana Jauhiainen
added the --size argument and SIZE parameter support. Michele Orrù improved
the patch and added more tests. Dan Boswell conditionalized various bits of
code on whether or not we are in HELO or EHLO mode, as well as some other
improvements and tests. I finalized the patch and added the address parsing.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Although '<>' is invalid according to RFC 5322, SMTP uses it for various
things, and it sometimes ends up in email headers. This patch changes
get_angle_addr to recognize it and just register a Defect instead of raising a
parsing error.
|
| | | |
|
| | |
| | |
| | |
| | | |
Network objects
|
| | | |
|
| | |
| | |
| | |
| | | |
parameter to the factory functions by using the appropriate direct class references instead
|