Raymond Hettinger added the comment: Over this looks good. Just one other minor tweak (one that has served me well elsewhere) would be to bypass the cross-module function call with a cheap (near zero cost) register variable test:
if (kwnames != NULL && !_PyArg_NoStackKeywords("rotate", kwnames)) { return NULL; } ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com