Issue 1505: Changes to PyMethod_New breaks ctypes on Windows (original) (raw)

Issue1505

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/45846

classification

Title: Changes to PyMethod_New breaks ctypes on Windows
Type: Stage:
Components: Extension Modules, Windows Versions: Python 3.0

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: theller Nosy List: christian.heimes, theller
Priority: high Keywords:

Created on 2007-11-27 13:02 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg57871 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-27 13:02
The problem is in _ctypes.c:create_comerror() around line 4620.
msg57881 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2007-11-27 19:16
Christian Heimes schrieb: > > New submission from Christian Heimes: > > > > The problem is in _ctypes.c:create_comerror() around line 4620. The code tries to populate a dict with methods and finally pass them to PyErr_NewException("_ctypes.COMError", NULL, dict); I have no idea what to do. What do I have to put into the dict?
msg57912 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-28 13:43
The removal of unbound methods made it hard to bind CFunctions. I rewrote the code in r59215.
History
Date User Action Args
2022-04-11 14:56:28 admin set github: 45846
2008-01-06 22:29:44 admin set keywords: - py3kversions: Python 3.0
2007-11-28 13:43:48 christian.heimes set status: open -> closedresolution: fixedmessages: +
2007-11-27 19:16:43 theller set messages: +
2007-11-27 13:02:37 christian.heimes create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements