#4099: psycopg2-2.0.6b2 does not allow lists in cursor.execute
-------------------------------------+--------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  mtredinnick     
     Status:  new                    |            Component:  Database wrapper
    Version:  0.96                   |           Resolution:                  
   Keywords:                         |                Stage:  Accepted        
  Has_patch:  0                      |           Needs_docs:  0               
Needs_tests:  0                      |   Needs_better_patch:  0               
-------------------------------------+--------------------------------------
Changes (by mtredinnick):

  * summary:  Version 0.96 does not work with psycopg2-2.0.6b2 =>
              psycopg2-2.0.6b2 does not allow lists in
              cursor.execute

Comment:

 What a shame. That's a bad design choice on psycopg's part. There is no
 good technical reason to allow tuples and not lists in that
 {{{cursor.execute()}}} --- any sequence-like object should work.
 
 We're going to have to work around their choice then. Fortunately, it
 shouldn't be too hard. Changing title to reflect the real problem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4099#comment:3>
Django Code <http://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 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to