[Django] #28005: normalize usage of terms 'argument' and 'parameter'

22 views
Skip to first unread message

Django

unread,
Apr 1, 2017, 5:08:27 AM4/1/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
------------------------------------------------+------------------------
Reporter: Sergey Fedoseev | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter
(see for more detailed explanation)
> What is the difference between arguments and parameters?
> Parameters are defined by the names that appear in a function
definition, whereas arguments are the values actually passed to a function
when calling it.

Example of incorrect term usage:
https://github.com/django/django/blob/6b3724fa1116c0949a6e0cd3e0dd55959a3abd93/docs/releases/2.0.txt#L75

--
Ticket URL: <https://code.djangoproject.com/ticket/28005>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 1, 2017, 8:39:02 AM4/1/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
--------------------------------------+------------------------------------

Reporter: Sergey Fedoseev | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

* easy: 0 => 1
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:1>

Django

unread,
Apr 2, 2017, 6:21:44 PM4/2/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Damir
Type: | Rakhimov
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Damir Rakhimov):

* owner: nobody => Damir Rakhimov
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:2>

Django

unread,
Apr 10, 2017, 3:06:24 PM4/10/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Damir
Type: | Rakhimov
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Damir Rakhimov):

I searched for ''argument'' in the ''docs'' directory.

Above example in the description should I change ''argument'' to
''parameter'' in other cases like these:

https://github.com/django/django/blob/6b3724fa1116c0949a6e0cd3e0dd55959a3abd93/docs/internals/deprecation.txt

{{{
* The ``weak`` argument to ``django.dispatch.signals.Signal.disconnect()``
will
be removed.
}}}
to
{{{
* The ``weak`` parameter of
``django.dispatch.signals.Signal.disconnect()`` will
be removed.
}}}
----
{{{
* The ``host`` argument to ``assertsRedirects`` will be removed.
}}}
to
{{{
* The ``host`` parameter of ``assertsRedirects`` will be removed.
}}}
and similar ?

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:3>

Django

unread,
Apr 17, 2017, 1:54:01 PM4/17/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
--------------------------------------+------------------------------------
Reporter: Sergey Fedoseev | Owner: (none)

Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Damir Rakhimov):

* owner: Damir Rakhimov => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:4>

Django

unread,
Apr 25, 2017, 1:07:32 PM4/25/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner:
Type: | ChillarAnand
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ChillarAnand):

* owner: (none) => ChillarAnand


* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:5>

Django

unread,
Aug 17, 2017, 1:25:32 PM8/17/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: lachilles
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by lachilles):

* owner: ChillarAnand => lachilles


Comment:

Will give this a try at Djangocon2017 today!

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:6>

Django

unread,
Oct 11, 2017, 1:48:51 PM10/11/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Levi Payne):

* owner: lachilles => Levi Payne


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:7>

Django

unread,
Oct 11, 2017, 2:51:34 PM10/11/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/8923 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:8>

Django

unread,
Oct 11, 2017, 3:00:56 PM10/11/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
--------------------------------------+------------------------------------
Reporter: Sergey Fedoseev | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Levi Payne):

* status: assigned => new
* owner: Levi Payne => (none)


--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:9>

Django

unread,
Oct 11, 2017, 3:08:28 PM10/11/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Levi Payne):

* owner: (none) => Levi Payne


* status: new => assigned


Comment:

Oh, I see the pull request was abandoned? I can try to finish it up.

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:10>

Django

unread,
Oct 11, 2017, 3:40:32 PM10/11/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

The pull request needs to be reviewed. If it looks fine, you can mark the
ticket as "Ready for checkin".

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:11>

Django

unread,
Oct 13, 2017, 11:54:58 AM10/13/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Levi Payne):

* needs_better_patch: 0 => 1


Comment:

Current PR is incomplete. Working on a new one that incorporates the
changes made so far.

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:12>

Django

unread,
Oct 13, 2017, 1:06:33 PM10/13/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Levi Payne):

* needs_better_patch: 1 => 0


Comment:

[https://github.com/django/django/pull/9238 New PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:13>

Django

unread,
Oct 24, 2017, 1:44:14 PM10/24/17
to django-...@googlegroups.com
#28005: normalize usage of terms 'argument' and 'parameter'
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Levi
Type: | Payne
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: assigned => closed
* resolution: => wontfix


Comment:

After looking at the large size of the patch, I don't think this is worth
it. Changing so much documentation will require non-trivial work for
translators and I don't think the current wording is causing any
confusion. Practicality seems to trump purity here.

--
Ticket URL: <https://code.djangoproject.com/ticket/28005#comment:14>

Reply all
Reply to author
Forward
0 new messages