[Mailman-Developers] Re: [Mailman-Users] Problem with Date:-headers

Barry Warsaw barry at python.org
Fri May 9 01:43:02 EDT 2003


On Thursday, May 8, 2003, at 08:49 PM, Tokio Kikuchi wrote:
>> The else clause is there to handle formats like:
>>
>> 	Wed, 3 Apr 2002 14:58:26 +0800
>
> This passed my test without else close.
>
> May be this pattern ?
>
>> 	Wed,3 Apr 2002 14:58:26 +0800

You're right.  The regression was in test_parsedate_compact() which 
indeed tests the string you mention.

> If you stick to the BNF, you should not insert space between
> the comma and date. :-<

Liberal in what you accept, strict in what you produce. :)

In any event, I think we're good on this one.

Thanks,
-Barry




More information about the Mailman-Developers mailing list