[Patches] [ python-Patches-762934 ] address test_time.py failures under Redhat 6.2

SourceForge.net noreply@sourceforge.net
Thu, 10 Jul 2003 07:29:19 -0700


Patches item #762934, was opened at 2003-06-29 20:44
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=762934&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Stuart Bishop (zenzen)
Assigned to: Brett Cannon (bcannon)
Summary: address test_time.py failures under Redhat 6.2

Initial Comment:
A mangled version of this patch is also in bug:
    http://www.python.org/sf/728051

Looks like tzset(3) is broken under Redhat 6.2 in a way
that wasn't being detected by configure. This
patch adds stricter tzset(3) checking to configure.in.



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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-07-10 10:29

Message:
Logged In: YES 
user_id=12800

This patch didn't break RH9.

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

Comment By: Brett Cannon (bcannon)
Date: 2003-07-03 16:16

Message:
Logged In: YES 
user_id=357491

We can say it should fail under Linux, but we can't specify Red Hat 
6.2.

I am keeping an eye on this patch for bug  #763153, but I have to 
wait until the OP applies it and tests it.

Looking at the patch, beyond not realizing that the X-mas time 
was GMT initially and the unneeded variable assignments, the 
patch looks fine to me (might want to comment that tzset does not 
return a value; rather non-standard) although I am no autoconf 
expert and I am assuming it just compiles this C code and any 
problems it just says  it fails.

Neal, what OS are you  running?  If it is non-OS X (sorry, that's 
what I am running as well) can you give the patch a try?

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

Comment By: Stuart Bishop (zenzen)
Date: 2003-07-01 23:51

Message:
Logged In: YES 
user_id=46639

This patch has only been tested under OS X.

I'm confident that it won't break other platforms.

I have no real way of proving that it addresses the problem it is 
supposed to solve, however, as I don't have access to a box that 
fails the tzset test in test_time.py.

The only reported platform that this is failing on is at
http://www.python.org/sf/728051, so we could just flag this
test as expected to fail on that platform, if someone knows how
to do that.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-01 23:03

Message:
Logged In: YES 
user_id=33168

Stuart, what boxes did you test this on?  How confident are
you that this won't break some other platform?  I'm asking
to try to determine if this should go into 2.3final (we only
have 1 release candidate before release) or if this should
wait for 2.3.1.  Thanks for all your work on tzset.

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

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