[issue3258] ctypes assertion failure in trunk

2008-07-15 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: Thanks for the heads up. Fixed in trunk (rev 64971) and py3k (rev 64972). I used B (pointer to bytes) as the format string for pointer to incomplete structure, not P. -- resolution: - fixed status: open - closed

[issue3258] ctypes assertion failure in trunk

2008-07-08 Thread Kevin Watters
Kevin Watters [EMAIL PROTECTED] added the comment: From reading through PEP 3118 once I'm not entirely clear on the role stgdict-format is supposed to be taking here, but I did get comtypes to compile and run successfully by changing line 910 from stgdict-format = alloc_format_string(,

[issue3258] ctypes assertion failure in trunk

2008-07-03 Thread Kevin Watters
Changes by Kevin Watters [EMAIL PROTECTED]: -- nosy: +kevinwatters ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3258 ___ ___ Python-bugs-list mailing

[issue3258] ctypes assertion failure in trunk

2008-07-02 Thread Tim Golden
New submission from Tim Golden [EMAIL PROTECTED]: The following code raises an Assertion Failure under debug in r64518 running on Windows XP SP2: code import ctypes class X (ctypes.Structure): pass ctypes.POINTER (X) /code Assertion failed: PyErr_Occurred(), file

[issue3258] ctypes assertion failure in trunk

2008-07-02 Thread Tim Golden
Tim Golden [EMAIL PROTECTED] added the comment: The comment just before _ctypes.c:309 indicates that when a NULL is returned at that point, an error condition should already obtain. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3258