[Django] #32253: Tuple passed instead of string in warnings.warn in validate_key method in base.py

7 views
Skip to first unread message

Django

unread,
Dec 9, 2020, 12:31:27 PM12/9/20
to django-...@googlegroups.com
#32253: Tuple passed instead of string in warnings.warn in validate_key method in
base.py
-----------------------------------------+------------------------
Reporter: kingliar420 | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 3.1
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 |
-----------------------------------------+------------------------
In validate_key method used for providing warnings if cache key is
incompatible with Memcached - a tuple is passed instead of the expected
string as an argument to warning.warn as a result it is breaking.

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

Django

unread,
Dec 9, 2020, 12:31:52 PM12/9/20
to django-...@googlegroups.com
#32253: Tuple passed instead of string in warnings.warn in validate_key method in
base.py
-------------------------------+--------------------------------------

Reporter: kingliar420 | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 3.1
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
-------------------------------+--------------------------------------

Comment (by kingliar420):

If this is an actual bug, could I please work on this?

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

Django

unread,
Dec 9, 2020, 12:45:43 PM12/9/20
to django-...@googlegroups.com
#32253: Tuple passed instead of string in warnings.warn in validate_key method in
base.py
-------------------------------------+-------------------------------------
Reporter: kingliar420 | Owner: nobody
Type: Bug | Status: closed
Component: Core (Cache system) | Version: 3.1
Severity: Normal | Resolution: duplicate

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 Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate
* component: Uncategorized => Core (Cache system)


Comment:

Duplicate of #31654. It's already fixed.

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

Reply all
Reply to author
Forward
0 new messages