[New-bugs-announce] [issue28838] Uniformize argument names of "call" functions

STINNER Victor report at bugs.python.org
Wed Nov 30 06:13:57 EST 2016


New submission from STINNER Victor:

See python-dev thread about my changeset 7efddbf1aa70:
https://mail.python.org/pipermail/python-dev/2016-November/146885.html

Serhiy asked me to revert it. It's now reverted by the revision 20bb8babc505. So, here is my change as a patch to review it.

See the thread for my rationale on argument names.

--

Uniformize argument names of "call" functions

* Callable object: callable, o, callable_object => func
* Object for method calls: o => obj
* Method name: name or nameid => method

Cleanup also the C code:

* Don't initialize variables to NULL if they are not used before their first
  assignement
* Add braces for readability

----------
components: Interpreter Core
files: call.patch
keywords: patch
messages: 282078
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Uniformize argument names of "call" functions
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file45702/call.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28838>
_______________________________________


More information about the New-bugs-announce mailing list