mirror of
https://github.com/python/cpython.git
synced 2026-07-30 15:31:38 +08:00
Add _testcapi helpers to create a capsule with an arbitrary name and to call PyCapsule_Import(), and Python tests covering the current behavior: only the first component of the dotted name is imported, the rest are attribute lookups. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>