[issue12886] datetime.strptime parses input wrong

2011-09-05 Thread Heiðar Rafn Harðarson
Heiðar Rafn Harðarson added the comment: This issue is also discussed here: http://bugs.python.org/issue5979 -- ___ Python tracker <http://bugs.python.org/issue12

[issue12886] datetime.strptime parses input wrong

2011-09-05 Thread Heiðar Rafn Harðarson
Heiðar Rafn Harðarson added the comment: My understanding of the python documentation and the ISO 8601 standard is that the digits in a timestamp representing hours, minutes and seconds shall always be in pairs of 2 digits (hh, mm, ss), i.e. when a number is less than 10 it should be

[issue12886] datetime.strptime parses input wrong

2011-09-02 Thread Heiðar Rafn Harðarson
New submission from Heiðar Rafn Harðarson : When using datetime.strptime or time.strptime to parse string representing timestamp with the format string '%Y%m%dT%H%M%S' then a strange behavior happens when the input string does not contain the seconds: the minute part is split and f

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2009-09-17 Thread Heiðar Rafn Harðarson
Changes by Heiðar Rafn Harðarson : -- title: awful performance in difflib: ndiff and HtmlDiff -> dreadful performance in difflib: ndiff and HtmlDiff ___ Python tracker <http://bugs.python.org/iss

[issue6931] awful performance in difflib: ndiff and HtmlDiff

2009-09-17 Thread Heiðar Rafn Harðarson
New submission from Heiðar Rafn Harðarson : Relatively small set of lines with differences in most lines can destroy the performance of difflib.HtmlDiff.make_table and difflib.ndiff. I am using it like this: ... htmldiffer = HtmlDiff() return htmldiffer.make_table(src_lines