#21034: atomic.__exit__ should check exc_type rather than exc_value -------------------------------------+------------------------------------- Reporter: aaugustin | Owner: aaugustin Type: Bug | Status: closed Component: Database layer | Version: (models, ORM) | 1.6-beta-1 Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Aymeric Augustin <aymeric.augustin@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"a8624b22a786f332d535d77ce51b97bde5b3e05e"]: {{{ #!CommitTicketReference repository="" revision="a8624b22a786f332d535d77ce51b97bde5b3e05e" [1.6.x] Tested exc_type instead of exc_value in __exit__. exc_value might be None even though there's an exception, at least on Python 2.6. Thanks Thomas Chaumeny for the report. Fixed #21034. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/21034#comment:8> 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.96b29a645bb777989d00d22c3c82e6b1%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.