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.

Author Unai Martinez
Recipients Unai Martinez
Date 2020-07-20.15:21:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595258481.74.0.314238368417.issue41348@roundup.psfhosted.org>
In-reply-to
Content
As discussed in https://stackoverflow.com/questions/62947076/replace-a-function-pointer-in-a-shared-library-with-ctypes, it seems currently not possible to replace an existing global variable in a shared library which contains a function pointer, with a callback defined in Python (through ctypes). However, it is possible to replace global variables of other types, such as `int`.
History
Date User Action Args
2020-07-20 15:21:21Unai Martinezsetrecipients: + Unai Martinez
2020-07-20 15:21:21Unai Martinezsetmessageid: <1595258481.74.0.314238368417.issue41348@roundup.psfhosted.org>
2020-07-20 15:21:21Unai Martinezlinkissue41348 messages
2020-07-20 15:21:21Unai Martinezcreate