[New-bugs-announce] [issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions
Yury Selivanov
report at bugs.python.org
Fri Feb 21 01:54:27 CET 2014
New submission from Yury Selivanov:
current behaviour:
>>> import inspect
>>> import os
>>> inspect.getfullargspec(os.stat)
<module 'posix' (built-in)>
FullArgSpec(args=['module', 'path'], varargs=None, varkw=None, defaults=None, kwonlyargs=['dir_fd', 'follow_symlinks'], kwonlydefaults={'dir_fd': None, 'follow_symlinks': True}, annotations={})
'module' argument should not be there.
Patch is attached, please review.
----------
assignee: yselivanov
files: sig_bound_01.patch
keywords: patch
messages: 211776
nosy: larry, ncoghlan, yselivanov
priority: release blocker
severity: normal
status: open
title: inspect.getfullargspec does not correctly work with builtin module-level functions
versions: Python 3.4
Added file: http://bugs.python.org/file34164/sig_bound_01.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20711>
_______________________________________
More information about the New-bugs-announce
mailing list