This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients Andrew.Myers, BreamoreBoy, berker.peksag, ghaering, r.david.murray
Date 2016-03-27.18:26:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459103185.51.0.279300797358.issue18691@psf.upfronthosting.co.za>
In-reply-to
Content
I think the name "parameters" causes a confusion here. It basically means

    def execute(sql, parameters):

not 

    def execute(sql, *parameters):

So ``con.execute('insert into foo values (?, ?)', (4, 5))`` is the correct usage of the API.

Also, this looks like a duplicate of issue 20364.
History
Date User Action Args
2016-03-27 18:26:25berker.peksagsetrecipients: + berker.peksag, ghaering, r.david.murray, BreamoreBoy, Andrew.Myers
2016-03-27 18:26:25berker.peksagsetmessageid: <1459103185.51.0.279300797358.issue18691@psf.upfronthosting.co.za>
2016-03-27 18:26:25berker.peksaglinkissue18691 messages
2016-03-27 18:26:25berker.peksagcreate