[Patches] [ python-Patches-748843 ] Let Email.Utils.parsedate use last 3 timetuple items

SourceForge.net noreply@sourceforge.net
Wed, 04 Jun 2003 06:22:37 -0700


Patches item #748843, was opened at 2003-06-04 13:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=748843&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerrit Holl (gerrit)
Assigned to: Nobody/Anonymous (nobody)
Summary: Let Email.Utils.parsedate use last 3 timetuple items

Initial Comment:
Hi,

this patch changes the behaviour of
Email.Utils.parsedate. Currently, the last 3 tuple
items are unused. One place where this complicates
things unnecessarily is when trying to find out the
week number: currently, it is necessary to convert the
tuple back and forth to a timestamp by hand, in order
to retrieve the information in the last 3 items. This
patch fixes this, and makes the default behaviour to
use all timetuple fields.

It also changes the corresponding documentation.

I also sent this to patches@python.org when SF was down.

Gerrit.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=748843&group_id=5470