[issue11882] test_imaplib failed on x86 ubuntu

2014-06-29 Thread R. David Murray
R. David Murray added the comment: Since we can't reproduce it and have had no response from the OP for over a year, it is indeed time to close this one. -- resolution: not a bug -> works for me status: open -> closed ___ Python tracker

[issue11882] test_imaplib failed on x86 ubuntu

2014-06-29 Thread Mark Lawrence
Mark Lawrence added the comment: Is there any work to be done here or can this be closed? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker _

[issue11882] test_imaplib failed on x86 ubuntu

2013-02-23 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to reproduce the issue and copied /usr/share/zoneinfo/posix/Asia/Calcutta to /etc/localtime as suggested in msg134382, but test_imaplib passes on 2.7/3.2/3.3/3.4. I wrote a C program to test the output of mktime: $ cat mk.c #include #include int main

[issue11882] test_imaplib failed on x86 ubuntu

2011-05-16 Thread Sijin Joseph
Changes by Sijin Joseph : -- nosy: -sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11882] test_imaplib failed on x86 ubuntu

2011-05-11 Thread Sijin Joseph
Changes by Sijin Joseph : -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11882] test_imaplib failed on x86 ubuntu

2011-05-07 Thread Kasun Herath
Kasun Herath added the comment: david, I'm not much familiar with c. Still trying to figure out how to do it -- status: pending -> open ___ Python tracker ___ __

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-30 Thread R. David Murray
R. David Murray added the comment: Kasun, were you able to reproduce the problem (or show it doesn't happen) calling mktime directly from C? -- resolution: -> invalid stage: -> committed/rejected status: open -> pending ___ Python tracker

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-26 Thread R. David Murray
R. David Murray added the comment: So this is probably not a python problem at all, but a problem with your system c library time functions. time.mktime is a thin wrapper around the mktime libc call. Perhaps you could write a short C program to test it? I've added Barry as nosy since he has

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-26 Thread Kasun Herath
Kasun Herath added the comment: Yes problem seems to be with time.mktime(). Here is my output, >>> calendar.timegm((2000, 1, 1, 0, 0, 0, -1, -1, -1)) 946684800 >>> x = imaplib.Internaldate2tuple(b'25 (INTERNALDATE "01-Jan-2000 00:00:00 >>> +")') >>> x time.struct_time(tm_year=2000, tm_mo

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-25 Thread R. David Murray
R. David Murray added the comment: Yeah, I looked at the source of calendar.gmtime, and it turns out it ignores the isdst flag, which it also seems should be irrelevant anyway, looking at the test code again. I tried setting my /etc/localtime to /usr/share/zoneinfo/posix/Asia/Calcutta, which

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-25 Thread ysj.ray
ysj.ray added the comment: Guess the problem is with time.mktime() and time.localtime(). Could you debug into the Internaldate2Tuple() function and see at which step the time value(a time_struct or a float which represents seconds) is wrong? -- nosy: +ysj.ray ___

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-24 Thread Kasun Herath
Kasun Herath added the comment: Yes this is a repeatable error. My timezone is GMT + 5:30. The test fails even if the last element of 'calendar.timegm's tuple is changed to 0 or 1 but pass if the function is changed as follows print calendar.timegm((1999, 12, 31, 23, 30, 0, -1, -1, -1))

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-19 Thread R. David Murray
R. David Murray added the comment: This is a repeatable error? What is your system timezone set to? The difference is exactly one half hour. Does the test pass if you change the calendar.timegm call to have '0' or '1' as the last element of the tuple instead of '-1'? -- nosy: +bel

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-19 Thread Kasun Herath
New submission from Kasun Herath : test_imaplib failed on x86 ubuntu machine with following error(s) == FAIL: test_Internaldate2tuple (test.test_imaplib.TestImaplib) --