New submission from Yury Selivanov: inspect.signature should work with decorated builtins. Suppose I want to create a cached version of 'min' builtin:
cached_min = functools.lru_cache()(min) The signature of the 'cached_min' should match the signature of 'min'. The patch is attached. ---------- assignee: yselivanov files: decorated_builtins_01.patch keywords: patch messages: 209585 nosy: brett.cannon, larry, ncoghlan, yselivanov priority: high severity: normal stage: patch review status: open title: inspect.Signature should work on decorated builtins type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file33783/decorated_builtins_01.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com