[issue25354] test_datetime failing

2015-10-09 Thread shanmbic
shanmbic added the comment: make distclean worked. I guess too many reverts in hg caused some issue. :) -- ___ Python tracker <http://bugs.python.org/issue25

[issue25354] test_datetime failing

2015-10-09 Thread shanmbic
shanmbic added the comment: @belopolsky - Yeah, I recompiled all the C modules successfully, still it fails the test. I am running Ubuntu 14.10 -- ___ Python tracker <http://bugs.python.org/issue25

[issue25354] test_datetime failing

2015-10-09 Thread shanmbic
New submission from shanmbic: The test for datetime module keeps failing. test test_datetime failed -- Traceback (most recent call last): File "/home/shantanu/cpython/Lib/test/datetimetester.py", line 215, in test_issue23600 self.assertEqual(t - t.utcoffset(), u) AssertionEr

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2015-10-05 Thread shanmbic
shanmbic added the comment: Yeah , I agree that including '%:::z' might not be necessary at all . Including '%:z' and '%::z' format specifiers will give an upper edge to Python. Although , if not going with '%::z' or seconds offset, for now only &#x

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2015-10-04 Thread shanmbic
shanmbic added the comment: I modified the "format_utcoffset" function in "_datetimemodule.c", to accept one more parameter "secondsrequired" . It is a boolean variable (PyObject) , which when set to true, the function will return the offset formatted as &quo