[issue36782] Add tests for the datetime C API

2019-05-27 Thread STINNER Victor
STINNER Victor added the comment: Paul Ganssle is in favor of backporting new tests to Python 3.7: https://github.com/python/cpython/pull/13088#issuecomment-493591633 But automated backports failed with a conflict. If someone wants to backport it manually, please go ahead! In the meanwhile,

[issue36782] Add tests for the datetime C API

2019-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 98ff4d5fb6a9d01b0176b7786db61346952e5295 by Victor Stinner (Edison A) in branch 'master': bpo-36782: Created C API wrappers and added missing tests for functions in the PyDateTimeAPI. (#13088) https://github.com/python/cpython/commit/98ff4d5fb6

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: @p-ganssle Please open a new bpo for the Untested macros. I will be happy to work on that in the sprints tomorrow. -- ___ Python tracker

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: I have submitted PR (under review) for these tests: - PyDate_FromDate / PyDateTimeAPI->Date_FromDate - PyDateTime_FromDateAndTime / PyDateTimeAPI->DateTime_FromDateAndTime - PyDateTime_FromDateAndTimeAndFold / PyDateTimeAPI->DateTime_FromDateAndTimeAndFold

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: I have done PyDateTime_FromDateAndTime. I'm moving on to add PyDateTime_FromDateAndTimeAndFold (plus documentation for fold as requested in https://bugs.python.org/issue36783) before making a PR. -- ___ Python t

[issue36782] Add tests for the datetime C API

2019-05-04 Thread Edison Abahurire
Edison Abahurire added the comment: I have done PyDate_FromDate in GH-13088 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36782] Add tests for the datetime C API

2019-05-04 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +13002 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue36782] Add tests for the datetime C API

2019-05-04 Thread anthony shaw
Change by anthony shaw : -- nosy: +edison.abahurire ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36782] Add tests for the datetime C API

2019-05-04 Thread anthony shaw
anthony shaw added the comment: Reserving this issue (in mentored sprint) -- nosy: +anthony shaw ___ Python tracker ___ ___ Python-

[issue36782] Add tests for the datetime C API

2019-05-03 Thread Paul Ganssle
Paul Ganssle added the comment: This ticket should be reserved for the mentored sprint. -- assignee: -> Mariatta nosy: +Mariatta ___ Python tracker ___ __

[issue36782] Add tests for the datetime C API

2019-05-03 Thread Paul Ganssle
New submission from Paul Ganssle : A decent fraction of the datetime C API has no tests. If we had tests, we could have prevented bpo #36025, which was a regression in the FromTimestamp method. I would like to open this issue to suggest the addition of tests for the full interface, to prevent

[issue36782] Add tests for the datetime C API

2019-05-03 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai