STINNER Victor added the comment: This issue is blocking me to convert more functions to Argument Clinic. See for example attached getattr_ac.patch which converts getattr() to AC. Without ac_optional_positional.patch, AC generates the signature:
"getattr($module, object, name, default=None, /)\n" whereas the following signature is expected: "getattr($module, object, name[, default])\n" ---------- Added file: http://bugs.python.org/file46317/getattr_ac.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue29299> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
