#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
-------------------------------------+--------------------------------------
Comment (by deaston):
I don't really understand this, considering the documentations recommends
using lists. Check out the second to last Q/A here:
[http://www.initd.org/tracker/psycopg/wiki/PsycopgTwoFaq]
Am I misunderstanding? Seems like there could potentially be many
projects that depend on the use of lists in cursor.execute().
To make things work temporarily I just commented out two blocks of code in
cursor_type.c that test for "kind" and rebuilt. Probably not the best
idea but seems to work for my purposes (just playing/experimenting).
--
Ticket URL: <http://code.djangoproject.com/ticket/4099#comment:4>
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
-~----------~----~----~----~------~----~------~--~---