#29396: The __year lookp crashes with IndexError when passed a non-direct values/expression. -------------------------------------+------------------------------------- Reporter: Dmitry Shachnev | Owner: Windson | yang Type: Bug | Status: closed Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"514104cf236c1039644b70c0c0f128cecd42b233" 514104cf]: {{{ #!CommitTicketReference repository="" revision="514104cf236c1039644b70c0c0f128cecd42b233" Refs #29396, #30494 -- Reduced code duplication in year lookups. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29396#comment:9> 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/065.01957873a05d832cab4660234ce8f11e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.