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 josiahcarlson
Recipients gregburd, gregory.p.smith, jcea, josiahcarlson, pitrou, rhettinger, skip.montanaro
Date 2008-09-07.03:34:21
SpamBayes Score 2.2782151e-05
Marked as misclassified No
Message-id <1220758463.44.0.775831399012.issue3783@psf.upfronthosting.co.za>
In-reply-to
Content
I tried passing the db name as a parameter with '?', it doesn't always 
work.  Also, there shouldn't be any SQL injection issues here unless 
someone designed their system wrong (if a third party is allowed to pass 
the name of a db table into the open/create function, then they can do 
much worse than mangle or hide data in a sqlite database).

With regards to isinstance being better than type; it's only better if 
you want to support subclasses.  When writing the module, I had no 
interest in supporting subclasses (though supporting both str and buffer 
in 2.x, and bytes and memoryview in 3.x seems reasonable).
History
Date User Action Args
2008-09-07 03:34:23josiahcarlsonsetrecipients: + josiahcarlson, skip.montanaro, rhettinger, gregory.p.smith, jcea, pitrou, gregburd
2008-09-07 03:34:23josiahcarlsonsetmessageid: <1220758463.44.0.775831399012.issue3783@psf.upfronthosting.co.za>
2008-09-07 03:34:22josiahcarlsonlinkissue3783 messages
2008-09-07 03:34:21josiahcarlsoncreate