MagicStack / immutables

A high-performance immutable mapping type for Python.
Other
1.14k stars 57 forks source link

Support disabling C extensions via `IMMUTABLES_EXT=0` #117

Open mgorny opened 6 months ago

mgorny commented 6 months ago

Support using IMMUTABLES_EXT environment variable to control whether the C extension is built explicitly. When set to a value other than 1, the extension built is disabled. This is helpful e.g. for future Python versions where the extension does not work (this is affecting 3.13 right now, but having an explicit option is more future-proof).