New submission from Unai Martinez <una...@gmail.com>:

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`.

----------
components: ctypes
messages: 374013
nosy: Unai Martinez
priority: normal
severity: normal
status: open
title: Support replacing global function pointers in a shared library
type: behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to