[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-03-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2b94f891c88 by Yury Selivanov in branch 'default': inspect.signature: Use enum for parameter kind constants. Closes #19573 http://hg.python.org/cpython/rev/c2b94f891c88 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-02-04 Thread Antony Lee
Antony Lee added the comment: Submitted new patch as suggested. -- Added file: http://bugs.python.org/file33913/inspect.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19573 ___

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-02-04 Thread Yury Selivanov
Yury Selivanov added the comment: The patch looks good to me. I'll merge it in 3.5 later. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19573 ___

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-01-28 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- nosy: +yselivanov versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19573 ___

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Antony, the docstrings are fixed. Could you please provide a patch just for the _ParameterKind-Enum refactoring? I'll incorporate it into 3.5 then. -- assignee: docs@python - yselivanov ___ Python tracker

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2013-11-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) nosy: +ethan.furman, ezio.melotti, ncoghlan stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19573

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2013-11-13 Thread Antony Lee
New submission from Antony Lee: The following patch corrects the docstring of `inspect.Parameter`, as the `default` and `annotation` attributes are in fact set to `empty` if no value is provided, and the `kind` attribute is in fact an `int` (more precisely, a `_ParameterKind`). It also