#31654: Memcached key validation raises InvalidCacheKey with clunky message.
-------------------------------------+------------------------------------
     Reporter:  Tim McCormack        |                    Owner:  felixxm
         Type:  Bug                  |                   Status:  assigned
    Component:  Core (Cache system)  |                  Version:  2.2
     Severity:  Release blocker      |               Resolution:
     Keywords:  memcached            |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------

Comment (by felixxm):

 I can reproduce this error when unpacking tuple
 {{{
 >>> warnings.warn(*("hi", str), RuntimeWarning)
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 TypeError: 'type' object cannot be interpreted as an integer
 }}}
 because `RuntimeWarning` is passed as `stacklevel`, it must be somewhere
 in EdX. Nevertheless we will fix this message.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d8c3de3f0549cac67e3a4156cb265a46%40djangoproject.com.

Reply via email to