#27818: Use contextlib.suppress to suppress exceptions. -------------------------------------+------------------------------------- Reporter: Mads Jensen | Owner: Tim Type: | Graham <timograham@…> Cleanup/optimization | Status: closed Component: Core (Other) | Version: master Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by GitHub <noreply@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"6e4c6281dbb7ee12bcdc22620894edb4e9cf623f" 6e4c6281]: {{{ #!CommitTicketReference repository="" revision="6e4c6281dbb7ee12bcdc22620894edb4e9cf623f" Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/27818#comment:12> 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/068.684f0db7fc777bc077197d067604648c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.