Ticket 17671 adds back the ability to use cursors as context managers with Python 2.7+, except without the backend specific behaviors. I mistakenly thought the patch I provided made it in to Django 1.5, otherwise I would have followed up on it much sooner. It's too late for 1.6, but I'm hoping this can find its way in to 1.7, which drops Python 2.6 support and effectively removes using cursors as context managers without this patch.
The patch has been replaced by a pull request against master. https://code.djangoproject.com/ticket/17671#comment:12 Regards, Michael Manfre -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. For more options, visit https://groups.google.com/groups/opt_out.
