On 11/5/23 1:42 AM, Michał Górny wrote: > Make the `native-extensions` flag global. It is used in 15 Python > packages to enable building optional C extensions, though the global > description also allows for other "native" and "pure" languages. > > In 9 cases, the flag description explicitly mentions "speedups", so this > is the primary case used in global description. There is one case > of the extension providing extra features, and the remaining cases > do not explain its role.
The USE flag's name inherently feels like something aligned with building speedups, so why not dedicate it to that purpose? It feels confusing to have a global USE that does different things for different packages. It sounds like just renaming a single USE flag -- peewee from "native-extensions" to "sqlite-ext" -- would be enough to allow nicer semantics here. -- Eli Schwartz