Jim Carroll added the comment: I understand. Actually, raising an exception would be perfectly acceptable as well (possibly even more desirable).
I too experimented with the c-lib strptime() and discovered the negative values of tm_mday. These results are good too -- as they clearly show the number of days before the new year. I don't think it's important for the python version to return the same values, but it would be better for it to at least be predictable. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23136> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com