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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to