#2662: [patch] dictfetchmany and dictfetchall should use generators
------------------------------+---------------------------------------------
Reporter: Simon Willison | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Database wrapper | Version:
Severity: normal | Keywords:
------------------------------+---------------------------------------------
In db.backends.util, dictfetchmany and dictfetchall currently use list
comprehensions and will cause all rows to be loaded in to memory. Those
functions should be generators, allowing rows to be loaded one at a time.
--
Ticket URL: <http://code.djangoproject.com/ticket/2662>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---