STINNER Victor added the comment: change_some_macros_using_Py_TYPE.patch LGTM.
> Direct access to ob_type is used about 300 times in the source code. Changing > all this case to use the Py_TYPE() macro causes code churn. IHMO change_some_macros_using_Py_TYPE.patch makes the code more readable since it's harder and easier to read. Note: Such refactoring patch must only be applied to the development branch (default). ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26824> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com