[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cvs2svn and strptime

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-10-22 10:41:30 CEST

Russell Yanofsky wrote:
> Max Bowsher wrote:
>> ...
>> Here is a modified version of the strptime section of Russell
>> Yanofsky's issue-1360 patch.
>>
>> I've made the regexp shorter by making use of \d and {2}, and changed
>> tm_isdst from 0 to -1, which seems to be more correct in my testing.
>>
>> By the way, when is this compatibility code activated?
>
> hasattr(time, 'strptime') is true when run on platforms that do not
> provide a strptime function.

Yes, I understand the (inverted) truth of this.

I was just wondering: Which platforms? Because it's apparently not needed on
WinXP Py 2.3.2.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 22 10:42:39 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.