[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d02490a9a9c238ed7ded1120877fdfdce16364a3 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) (GH-9727)

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9112 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 by Serhiy Storchaka in branch '3.7': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) https://github.com/python/cpython/commit/6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 --

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9110 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e --

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: assertEquals() is deprecated, use assertEqual() instead. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9106 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks MatteoL for the bug report, it has been fixed in 2.7, 3.6, 3.7 and master. Thanks Vladimir Matveev for the fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset b63a16febbd1c943c9dbc5c651326b410aa50698 by Victor Stinner (Vladimir Matveev) in branch '2.7': [2.7] bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258) (GH-9425)

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-19 Thread Vladimir Matveev
Change by Vladimir Matveev : -- pull_requests: +8843 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread miss-islington
miss-islington added the comment: New changeset e53632019816749ffd5be0afab2a99d744dbbe35 by Miss Islington (bot) in branch '3.6': bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258) https://github.com/python/cpython/commit/e53632019816749ffd5be0afab2a99d744dbbe35

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread miss-islington
miss-islington added the comment: New changeset e3f6aa7fe48b91f4ff619b2a51d473249d620bcb by Miss Islington (bot) in branch '3.7': bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258) https://github.com/python/cpython/commit/e3f6aa7fe48b91f4ff619b2a51d473249d620bcb

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +8766 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7843caeb909bd907e903606414e238db4082315a by Victor Stinner (Vladimir Matveev) in branch 'master': bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258)

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +8765 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +8764 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-13 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +8690 stage: -> patch review ___ Python tracker ___ ___

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-12 Thread Vladimir Matveev
Vladimir Matveev added the comment: I think the problem is that FFI layer assumes that MSVC compiler will try to pass any structure less than 8 bytes in registers whereis it is not always true: To be returned by value in RAX, user-defined types must have a length of 1, 2, 4, 8, 16, 32, or

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-10 Thread MatteoL
Change by MatteoL : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-07 Thread MatteoL
Change by MatteoL : -- title: ctypes On Windows: error calling C function that returns a struc containing 3 bools -> ctypes on Windows: error calling C function that returns a struct containing 3 bools ___ Python tracker