summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
Commit message (Collapse)AuthorAgeFilesLines
* New address parser by Ben Escoto replacesGuido van Rossum1997-11-221-125/+247
| | | | Sjoerd Mullender's parseaddr()
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-221-5/+4
|
* Entirely rewritten parseaddr() function by Sjoerd Mullender.Guido van Rossum1997-09-151-53/+92
| | | | (Includes a patch he sent me a few days later.)
* Tweaks by Lars Wirzenius to parse some more forms of illegal dates:Guido van Rossum1997-07-251-2/+5
| | | | | | | | the comma after the day name is optional if it is a recognized day name; and the date and month may be swapped. Thus, the following two test dates will now be parsed correctly: Thu, Feb 13 12:16:57 1992 Thu Feb 13 12:16:57 1992
* Added support for RFC 850 style dates, as used by some HTTP serversGuido van Rossum1996-12-271-0/+4
| | | | | | | | (such as Netscape-Commerce and CERN). An example of a RFC 850 date: 'Wednesday, 18-Dec-96 21:00:00 GMT' From: Chris Lawrence <quango@themall.net>
* Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.Guido van Rossum1996-12-121-0/+11
|
* Added support for timezone in date field. getdate_tz() andGuido van Rossum1996-11-201-6/+57
| | | | | parsedate_tz() return a 10-tuple, the last field is the tz offset in seconds (e.g. -18000 or -5 hours for EST).
* New, improved parseaddr() by Sjoerd.Guido van Rossum1996-07-301-30/+83
|
* optimization of getheader() using a dictionaryGuido van Rossum1996-05-281-45/+33
|
* added seekable option; save unix from lines; speed up islast()Guido van Rossum1995-06-221-12/+24
|
* Removed >From stuffJack Jansen1995-06-161-2/+1
|
* Skip old-style 'From name time' lines at beginning of message.Jack Jansen1995-06-131-0/+6
|
* mhlib.py: delay opening of sequences file so we don't overwrite it whenGuido van Rossum1994-09-091-1/+8
| | | | | | putsequences is called with a bad argument rfc822.py: better handling of dates with no or bad timezones uu.py: contributed by Lance -- uu{en,de}code
* * Lib/rfc822.py: fix two bugs: error in readheaders interpretingGuido van Rossum1994-08-121-5/+5
| | | | | regex.match() result, and wrong logic in getfirstmatchingheader() when the same header occurs twice consecutively
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-16/+200
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-5/+3
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* New modules mimetools and rfc822.Guido van Rossum1992-07-131-0/+211
Minor, minor changes to commands.py and sndhdr.py.