[issue28259] Ctypes bug windows

2016-10-30 Thread Aristotel
Aristotel added the comment: Any update on this? It blocks development of my project. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue28259] Ctypes bug windows

2016-10-25 Thread Aristotel
Aristotel added the comment: Sorry for delay. I tried to write as small as possible example. Sorry if it is too big Usage: run 2 consoles, cd to dir with sources. In first console type 'python3 main.py test1.tox', and in second type 'python3 main.py test2.tox'. Wait 1-2 min until apps connect

[issue28259] Ctypes bug windows

2016-10-05 Thread Aristotel
Aristotel added the comment: I will write (as short as possible) example. Hope to finish it in ~ 1 week. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue28259] Ctypes bug windows

2016-10-04 Thread Aristotel
Aristotel added the comment: Unfortunately in my case "minimal" example is extremely long. Do you really need it& -- versions: +Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bug

[issue28259] Ctypes bug windows

2016-10-03 Thread Aristotel
Aristotel added the comment: CDLL. I didn't test it on Python 3.5.2, 3.3 - 3.4 only. And btw my OS is windows 7. Lib is also used by some apps (not Python apps) and there this function works well. -- ___ Python tracker <rep...@bugs.python.

[issue28259] Ctypes bug windows

2016-10-01 Thread Aristotel
Aristotel added the comment: Oh it's ctypes bug on windows only -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28259> ___ ___

[issue28259] Ctypes bug windows

2016-10-01 Thread Aristotel
Changes by Aristotel <creker2...@tut.by>: -- components: +Windows -ctypes ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28259> ___

[issue28259] Ctypes bug windows

2016-09-30 Thread Aristotel
Aristotel added the comment: I use 32-bit python on 64-bit windows -- components: -Windows ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue28259] Ctypes bug windows

2016-09-23 Thread Aristotel
New submission from Aristotel: I'm wrapping C function using ctypes. Function has following prototype: bool func(some_struct* pointer, uint32_t a, uint16_t b, uint16_t c, const uint8_t *d, const uint8_t *e, const uint8_t *f, some_enum *e); I tried a lot of variants of wrapper but on windows I