| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
If Py_MIN/MAX/ABS() macros are called on an existing "_x" or "_y" variable name, the macro local variables may be overriden by the external variables. So use more unique names in the macros. Add test_min_max_abs_macros() to _testlimitedcapi.
Sorry, something went wrong.
|
If the other compatibility changes are considered acceptable, I have no objection to this change. For reference, I also used an LLM to scan 1,561 PyPI packages with C extensions and found only one case of nested Py_MIN() usage, in librt. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
If Py_MIN/MAX/ABS() macros are called on an existing "_x" or "_y" variable name, the macro local variables may be overriden by the external variables. So use more unique names in the macros.
Add test_min_max_abs_macros() to _testlimitedcapi.