| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Use time.monotonic instead of time.clock.
|
| |
| |
| |
| | |
Use time.monotonic or time.time instead of time.clock.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Leopard because this OS uses out of date (pre 2011k) timezone files.
|
|\ \
| |/
| |
| | |
Patch from Dmitry Shachnev.
|
| |
| |
| |
| | |
Patch from Dmitry Shachnev.
|
|\ \
| |/
| |
| | |
email.utils.make_msgid() to strengthen the uniqueness of the message ID.
|
| |
| |
| |
| | |
email.utils.make_msgid() to strengthen the uniqueness of the message ID.
|
| |
| |
| |
| |
| |
| |
| | |
This defaults to True in the compat32 policy for backward compatibility,
but to False for all new policies.
Patch by Milan Oberkirch, with a few tweaks.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This could use more edge case tests, but the basic functionality is tested.
(Note that this changeset does not add tailored support for the RFC 6532
message/global MIME type, but the email package generic facilities will handle
it.)
Reviewed by Maciej Szulik.
|
| |
| |
| |
| | |
Patch by Abhilash Raj.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This mimics get_param's error handling for the most part. It is slightly
better in some regards as get_param can produce some really weird results for
duplicate *0* parts. It departs from get_param slightly in that if we have a
mix of non-extended and extended pieces for the same parameter name, the new
parser assumes they were all supposed to be extended and concatenates all the
values, whereas get_param always picks the non-extended parameter value. All
of this error recovery is pretty much arbitrary decisions...
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Cory Benfield.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).
Patch by Stéphane Wirtel.
|
| |
| |
| |
| |
| |
| | |
email.charset.Charset instances.
Initial patch by Claude Paroz.
|
|\ \
| |/ |
|
|/
|
|
|
|
| |
Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.
|
| |
|
| |
|
|
|
|
|
|
| |
long line.
Original patch by Raymond Hettinger.
|
| |
|
|
|
|
|
|
| |
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
|
|
|
|
| |
This makes the behavior match that of Parser. Patch by Vajrasky Kok.
|
|
|
|
|
|
|
|
| |
More tests of the concrete policy methods would probably be
a good idea, but this is a start, and it brings line coverage
up to 100% for the policy module.
Patch by Milan Oberkirch.
|
|
|
|
| |
Original patch by Varun Sharma.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed. There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This applies only to the new parser. The old parser decodes encoded words
inside quoted strings already, although it gets the whitespace wrong
when it does so.
This version of the patch only handles the most common case (a single encoded
word surrounded by quotes), but I haven't seen any other variations of this in
the wild yet, so its good enough for now.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a bit of an ugly hack because of the way generator pieces together the
output message. The deepcopys aren't too expensive, though, because we know it
is only called on messages that are not multiparts, and the payload (the thing
that could be large) is an immutable object.
Test and preliminary work on patch by Vajrasky Kok.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
This fixes a regression relative to python2.
|
| |
| |
| |
| |
| | |
So passing unicode to set_payload works again (but still doesn't
do what you want when the message is serialized).
|
| | |
|
| |
| |
| |
| |
| | |
In 3.5 I will fix this right by adding a message_factory attribute
to the policy.
|
|\ \
| |/
| |
| | |
(No idea why test_tarfile is listed as changed...it isn't.)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an edge case (20206) where if the input ended in a character
needing encoding but there was no newline on the string, the last byte
of the encoded character would be dropped. The fix is to use a more
efficient algorithm, provided by Serhiy Storchaka (5803), that does not
have the bug.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is a backward compatible partial fix, the complete fix requires raising
an error instead of accepting the invalid input, so the real fix is only
suitable for 3.4.
|