Change by Ian H :
--
keywords: +patch
pull_requests: +24282
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25487
___
Python tracker
<https://bugs.python.org/issu
Ian H added the comment:
Proposed patch is in https://github.com/python/cpython/pull/25487.
--
___
Python tracker
<https://bugs.python.org/issue43895>
___
___
New submission from Ian H :
While working on another project I noticed that there's a cache of shared
object handles kept inside _PyImport_FindSharedFuncptr. See
https://github.com/python/cpython/blob/b2b6cd00c6329426fc3b34700f2e22155b44168c/Python/dynload_shlib.c#L51-L55.
It appears
New submission from Ian H :
Some of the import-related C API functions are documented as bypassing an
override to builtins.__import__. This appears to be the case, but the
documentation is incomplete in this regard. For example, PyImport_ImportModule
is implemented by calling PyImport_Import
New submission from Ian H :
Currently there's no easy way to get at the internal cache of module spec
objects for compiled extension modules. See
https://github.com/python/cpython/blob/20ac34772aa9805ccbf082e700f2b033291ff5d2/Python/import.c#L401-L415.
For example, these module spec ob