#31734: warnings.warn() fails when looping over memcache_key_warnings()
-------------------------------------+-------------------------------------
Reporter: Rich Rauenzahn | Owner: nobody
Type: Bug | Status: new
Component: Core (Cache system) | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Rich Rauenzahn):
I made the change locally (i.e., warnings.warn(*warning)) and now properly
get:
ipdb>
virtualenv-3.6.8/lib64/python3.6/site-
packages/django/core/cache/backends/base.py:250: CacheKeyWarning: Cache
key contains characters that will cause errors if used with memcached:
":1:<redacted but invalid>"
warnings.warn(*warning)
--
Ticket URL: <https://code.djangoproject.com/ticket/31734#comment:1>
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/066.271197ae7a067f9fb338837318b81622%40djangoproject.com.