[Django] #30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`

21 views
Skip to first unread message

Django

unread,
Oct 13, 2019, 11:19:35 AM10/13/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`
-----------------------------------------+------------------------
Reporter: André Ericson | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | 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 |
-----------------------------------------+------------------------
As a preparation to https://code.djangoproject.com/ticket/30864 we should
move `classproperty` to `django.utils.functional` as suggested in:

https://code.djangoproject.com/ticket/30864#comment:5

as well as deprecating using it from
`django.utils.decorators.classproperty`.

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

Django

unread,
Oct 13, 2019, 11:20:13 AM10/13/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`
-------------------------------+-----------------------------------------
Reporter: André Ericson | Owner: André Ericson
Type: Uncategorized | Status: assigned
Component: Uncategorized | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by André Ericson):

* status: new => assigned
* owner: nobody => André Ericson


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

Django

unread,
Oct 14, 2019, 4:59:54 AM10/14/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`.

-------------------------------+-----------------------------------------
Reporter: André Ericson | Owner: André Ericson
Type: New feature | Status: assigned
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

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

* type: Uncategorized => New feature
* stage: Unreviewed => Accepted
* component: Uncategorized => Utilities


Comment:

This is an undocumented decorator so I don't think that we need to
deprecate it. Release note in "Backwards incompatible changes" should be
enough.

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

Django

unread,
Oct 17, 2019, 11:30:05 AM10/17/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`.
-------------------------------+-----------------------------------------
Reporter: André Ericson | Owner: André Ericson
Type: New feature | Status: assigned
Component: Utilities | 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 felixxm):

* easy: 0 => 1


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

Django

unread,
Oct 20, 2019, 12:51:44 PM10/20/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`.
-------------------------------+-----------------------------------------
Reporter: André Ericson | Owner: André Ericson
Type: New feature | Status: assigned
Component: Utilities | 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 André Ericson):

* has_patch: 0 => 1


Comment:

Pull request at: https://github.com/django/django/pull/11945

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

Django

unread,
Oct 21, 2019, 4:28:08 AM10/21/19
to django-...@googlegroups.com
#30876: Move `django.utils.decorators.classproperty` to `django.utils.functional`.
-------------------------------+-----------------------------------------
Reporter: André Ericson | Owner: André Ericson
Type: New feature | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: fixed
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 Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

In [changeset:"312049091288dbba2299de8d07ea3e3311ed7238" 31204909]:
{{{
#!CommitTicketReference repository=""
revision="312049091288dbba2299de8d07ea3e3311ed7238"
Fixed #30876 -- Moved classproperty() decorator to the
django.utils.functional.
}}}

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

Reply all
Reply to author
Forward
0 new messages