RE: Bug in time.timezone of Python 2.1.1
Ivan J. Wagner writes:
Sent: Thursday, September 06, 2001 8:03 PM To: cygwin@sources.redhat.com Cc: jason@tishler.net Subject: Bug in time.timezone of Python 2.1.1
I maintain a CVS archive (using cvs 1.11.0-1) on a Cygwin 1.3.2 install and use ViewCVS 0.7 to access it. ViewCVS uses python and today I upgraded from python 2.1-1 to 2.1.1-1. However the upgade broke the Age field in ViewCVS. The Age field is the time span between the file's check in and today. The Age field is displayed when you view a CVS directory listing. I looked at the ViewCVS sources and tracked the problem to time.timezone. In 2.1 it returns 18000 but in 2.1.1 it returns 1834228892. Does anybody have any day what might be causing this problem?
Thanks, Ivan Wagner
YES see attached patch Cheers Norman Vine
Norman, On Thu, Sep 06, 2001 at 08:34:43PM -0400, Norman Vine wrote:
Ivan J. Wagner writes:
I looked at the ViewCVS sources and tracked the problem to time.timezone. In 2.1 it returns 18000 but in 2.1.1 it returns 1834228892. Does anybody have any day what might be causing this problem?
YES
see attached patch
Have you submitted the above patch to SF for consideration? Thanks, Jason
Please, please, don't mail patches to python-dev. They get lost that way. Use the SourceForge patch manager! --Guido van Rossum (home page: http://www.python.org/~guido/)
Norman, Thanks a lot for the patch. I just tested it out and it fixed the problem. On Thu, 6 Sep 2001, Norman Vine wrote:
Ivan J. Wagner writes:
Sent: Thursday, September 06, 2001 8:03 PM To: cygwin@sources.redhat.com Cc: jason@tishler.net Subject: Bug in time.timezone of Python 2.1.1
I maintain a CVS archive (using cvs 1.11.0-1) on a Cygwin 1.3.2 install and use ViewCVS 0.7 to access it. ViewCVS uses python and today I upgraded from python 2.1-1 to 2.1.1-1. However the upgade broke the Age field in ViewCVS. The Age field is the time span between the file's check in and today. The Age field is displayed when you view a CVS directory listing. I looked at the ViewCVS sources and tracked the problem to time.timezone. In 2.1 it returns 18000 but in 2.1.1 it returns 1834228892. Does anybody have any day what might be causing this problem?
Thanks, Ivan Wagner
YES
see attached patch
Cheers
Norman Vine
participants (4)
-
Guido van Rossum -
Ivan J. Wagner -
Jason Tishler -
Norman Vine