stan mihai added the comment:
ok, please also fix the first parameter of the tests. Because it has the same
value in the first call and the callback it will always be right by accident,
since the first call puts the value in both standard and floating point
registers
stan mihai added the comment:
attached patch with tests
I have no experience with python development so the tests will actually need a
more detailed review. Also I only checked it on win64.
--
Added file: http://bugs.python.org/file20626/ctypes_win64_tests.diff
stan mihai added the comment:
The problem was an uninitialized variable. Attached is the patch that fixes it.
--
keywords: +patch
nosy: +stan.mihai
Added file: http://bugs.python.org/file20529/ctypes_win64.diff
___
Python tracker
<h
stan mihai added the comment:
Disabling optimizations doesn't really fix the issue, just hides it, for now.
The problem was an uninitialized variable. Attached is the patch that fixes it.
--
keywords: +patch
nosy: +stan.mihai
Added file: http://bugs.python.org/file20528/ctypes_
stan mihai added the comment:
Disabling optimizations doesn't really fix the issue, just hides it, for now.
The problem was an uninitialized variable. Attached is the patch that fixes it.
--
nosy: +stan.mihai
Added file: http://bugs.python.org/file20527/ctypes_win64