Barry Warsaw
e8bedeb45b
Resolution of bug #997368 , "strftime() backward compatibility".
...
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
2004-08-07 16:38:40 +00:00
Barry Warsaw
24f79762a1
Update to Python 2.3, getting rid of backward compatiblity crud.
2004-05-09 03:55:11 +00:00
Barry Warsaw
efad5880ba
AddressList.__str__(): Get rid of useless, and broken method. Closes
...
SF #753617 . Back port candidate (but low priority).
2003-06-13 21:16:06 +00:00
Barry Warsaw
b5dc39f02c
parsedate_tz(): Be slightly more lenient when there's no day of the
...
week. Patch given by Daniel Berlin in SF bug # 732761. Also closes
SF bug # 727719.
Backport candidate.
2003-05-08 03:33:15 +00:00
Barry Warsaw
fa348c876f
getaddrlist(): Make sure this consumes all the data, and if there is
...
no address there (perhaps because of invalid characters, it appends
('', '') to the result set.
Closes mimelib SF bug # 697641.
2003-03-17 18:35:42 +00:00
Barry Warsaw
ba97659f5f
parsedate_tz(): Fix SF bug #552345 , optional FWS between the comma and
...
the day in an RFC 2822 date.
2002-12-30 17:21:36 +00:00
Barry Warsaw
5c8fef903d
A code cleansing pass
2002-12-30 16:43:42 +00:00
Barry Warsaw
1fb22bb24f
Port rfc822.py changes that didn't make it into this copy,
...
specifically that dots are allowed in obs-phrase. This fixes parsing
of dots in realnames.
2002-12-30 16:21:07 +00:00
Barry Warsaw
030ddf794f
Jason Mastaler's patch to break the dependence on rfc822.py for the
...
address parsing routines. Closes SF patch #613434 .
2002-11-05 19:54:52 +00:00