[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
STINNER Victor added the comment: Ok, now the issue can be closed :-) I backported Oren Milman's fix to Python 2.7 and 3.6 as well. Oren Milman: thank you very much for your fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8b83687bdf66d2d10afb78e46bcede399deaefde by Victor Stinner in branch '2.7': bpo-28129: fix ctypes crashes (#386) (#3800) https://github.com/python/cpython/commit/8b83687bdf66d2d10afb78e46bcede399deaefde --

[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7d6ddb96b34b94c1cbdf95baa94492c48426404e by Victor Stinner in branch '3.6': bpo-28129: fix ctypes crashes (#386) (#3799) https://github.com/python/cpython/commit/7d6ddb96b34b94c1cbdf95baa94492c48426404e --

[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
STINNER Victor added the comment: > Shouldn't we close this issue? Oh, I forgot this issue. Python 2.7 and 3.6 are also impacted and still accept bug fixes. I proposed backports. -- versions: +Python 2.7, Python 3.6 ___

[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +3786 ___ Python tracker ___ ___

[issue28129] assertion failures in ctypes

2017-09-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +3785 stage: -> patch review ___ Python tracker ___

[issue28129] assertion failures in ctypes

2017-09-28 Thread Oren Milman
Oren Milman added the comment: Shouldn't we close this issue? -- ___ Python tracker ___

[issue28129] assertion failures in ctypes

2017-03-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1bea762d9ec823544c530d567330a47f64d93d4f by Victor Stinner (orenmn) in branch 'master': bpo-28129: fix ctypes crashes (#386) https://github.com/python/cpython/commit/1bea762d9ec823544c530d567330a47f64d93d4f -- nosy: +haypo

[issue28129] assertion failures in ctypes

2017-03-02 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +335 ___ Python tracker ___ ___

[issue28129] assertion failures in ctypes

2017-03-01 Thread Oren Milman
Oren Milman added the comment: The fix for issue #25659 already replaced the assertions in CDataType_from_buffer and CDataType_from_buffer_copy with if statements (my bad for missing that issue when I opened this one). In addition, that fix added some tests, so I also added some, and created a

[issue28129] assertion failures in ctypes

2017-03-01 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +322 ___ Python tracker ___

[issue28129] assertion failures in ctypes

2017-02-22 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: +vinay.sajip ___ Python tracker ___ ___

[issue28129] assertion failures in ctypes

2016-09-13 Thread Oren Milman
Changes by Oren Milman : Added file: http://bugs.python.org/file44639/patchedCPythonTestOutput_ver1.txt ___ Python tracker ___

[issue28129] assertion failures in ctypes

2016-09-13 Thread Oren Milman
Changes by Oren Milman : Added file: http://bugs.python.org/file44638/CPythonTestOutput.txt ___ Python tracker ___

[issue28129] assertion failures in ctypes

2016-09-13 Thread Oren Milman
Changes by Oren Milman : -- keywords: +patch Added file: http://bugs.python.org/file44637/issue28129_ver1.diff ___ Python tracker ___

[issue28129] assertion failures in ctypes

2016-09-13 Thread Oren Milman
New submission from Oren Milman: current state In Modules\_ctypes\_ctypes.c, there are six functions with assertions that might fail: 1. CDataType_from_buffer 2. CDataType_from_buffer_copy 3. PyCPointerType_set_type 4. PyCPointerType_from_param 5.