#34369: Improve the interaction between transaction.atomic() and generator
functions
-------------------------------------+-------------------------------------
Reporter: Raphaël Barrois | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: atomic generator | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Raphaël Barrois):
Fair enough; I guess this should instead be seen as an issue in
`contextlib`, which could detect when it's decorating generators and
adjust its behaviour accordingly.
--
Ticket URL: <https://code.djangoproject.com/ticket/34369#comment:3>
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/0107018697654eb2-005b6a2d-a256-4c9d-845f-6bd1423fd166-000000%40eu-central-1.amazonses.com.