#26764: Session.cycle_key() throws Exception if the session hasn't been accessed --------------------------------------+------------------------------------ Reporter: adam-iris | Owner: adamzap Type: Cleanup/optimization | Status: assigned Component: contrib.sessions | Version: 1.8 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 --------------------------------------+------------------------------------
Comment (by adamzap): Yeah, with `self._session_cache = {}` in `__init__`, the sessions_tests are `OK`, but instead of passing with two skips and an expected failure, they pass with one unexpected success. However, the full Django test suite does not pass with this change. It had 511 failures and 55 errors...so something deeper is going on here. Unexpected! I'd like to look into it more and understand `contrib.sessions` better in general as a separate effort. -- Ticket URL: <https://code.djangoproject.com/ticket/26764#comment:5> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.4816aabe1061a1ec7654badb455fa946%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.