GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — PyModule_FromSlotsAndSpec and PyModule_GetToken exposed without named parameters · Issue #143883 · python/cpython Closed Closed Copy link Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-featureA feature request or enhancementA feature request or enhancement DescriptionMost of the public functions in the C API have named parameters and both of these functions are documented with named parameters: https://docs.python.org/3.15/c-api/module.html#c.PyModule_FromSlotsAndSpec While wrapping these APIs for PyO3, I noticed that the public definitions just have types for the first parameter without an explicit name: cpython/Include/moduleobject.h Lines 120 to 126 in c461aa9
It'd be nice for those interfaces to match the names in the docs. This code was added in #140556. I don't see any discussion about this, I think it was just missed. Linked PRsActivity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-featureA feature request or enhancementA feature request or enhancement ProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |