Extension modules with unneeded module state #94401
Labels
3.12
only security fixes
extension-modules
C modules in the Modules dir
type-feature
A feature request or enhancement
Similar to #94395 and #94393.
The bz2 and overlapped extension modules both have unneeded module state. That is, their state only contains pointers to types that are only added to the module's dict, and not used anywhere else. This implies:
For each module, this amounts to approx. 50 fewer lines of code. Less code, less maintenance.
For extension modules with partial unneeded module state, it may be best to leave them as they are; consistency also has a value.
The text was updated successfully, but these errors were encountered: