| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add iteration support to the Message class.
|
|
|
|
|
|
|
|
|
| |
Specifically, time.strftime() no longer accepts a 0 in the yday position of a
time tuple, since that can crash some platform strftime() implementations.
parsedate_tz(): Change the return value to return 1 in the yday position.
Update tests in test_rfc822.py and test_email.py
|
|
|
|
| |
(adapted from Quinn Dunkan's mimelib SF patch #573204).
|
|
|
|
|
|
|
|
|
|
|
| |
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
|
|
|
|
|
| |
Change default for get() back to None.
Will backport to 2.2.1.
|
|
|
|
| |
fixed (re: SF bug #555035). Include a unittest.
|
|
|
|
|
|
|
|
| |
instead of calling the getaddrlist() method, since the latter doesn't
work with multiple calls (it will return the empty list for the second
and subsequent calls).
Closes SF bug #555035. Include a unittest.
|
|
|
|
| |
addresses. Commented out because it still takes too long to run.
|
|
|
|
| |
field exists with an empty value.
|
|
|
|
|
| |
allows using the tests with unittest.py as a script. The tests will
still run when run as a script themselves.
|
|
|
|
|
|
|
|
| |
was already correctly parsed (contrary to a comment in Mailman).
test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in
phrases, which means we must accept dots in unquoted realname parts.
Add a test to check the change in rfc822.py 1.58.
|
|
|
|
|
| |
Update to reflect using "" as the default value for the second parameter
to the get() method.
|
|
|
|
| |
objects.
|
|
|
|
| |
'verify' iff it's used by a test module...
|
|
|
|
|
|
|
| |
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.
Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
|
| |
|
|
|
|
| |
addresses with domain literals.
|
| |
|
| |
|
|
|
|
| |
(I tweaked it slightly so examples are allowed to have no date too.)
|
|
|
|
|
| |
for an old bug that's been gone a while, but was still documented
until a few minutes from now.
|
|
troublesome ones encountered on the c.l.py list.
|