Tal Einat added the comment: Attached is an updated patch for Modules/mathmodule.c.
This is based on Georg's patch, updated to apply to current 3.5, with several improvements: * replaced legacy converters * converted math.ceil() and math.floor() functions * converted the new math.gcd() and math.isclose() functions * AC generated code in separate file: Modules/clinic/mathmodule.c.h * this patch doesn't change any internal variable names in the C code ---------- nosy: +taleinat Added file: http://bugs.python.org/file39602/issue20186.mathmodule.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20186> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com