Ryan Smith-Roberts added the comment: socketmodule has three builtins which use PyLong_AsUnsignedLong on their arguments and would benefit from these converters, but only if they raise OverflowError. So I vote for #2.
I don't think it's unreasonable to continue to have locally-defined argument converters. ---------- nosy: +rmsr _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com