Bénédikt Tran
Bénédikt Tran
Not sure if you want it to be backported to 3.12 and 3.13, since the corresponding PR (https://github.com/python/cpython/pull/26488) for `tarfile` was not backported. * Issue: gh-122356
This PR updates the docs concerning `ctypes._CFuncPtr` (which is exposed) and `_FuncPtr` (which is a dynamic subclass of `_CFuncPtr` created by CDLL objects). Credits to @eryksun (https://github.com/python/cpython/issues/120313#issuecomment-2158049008) * Issue: gh-120313
This is the simplest implementation I could think of. Another alternative I had in mind was to specialize the code for leaf exceptions but this would need to move around...