DBAPI Paramstyle

Fredrik Lundh fredrik at pythonware.com
Thu Mar 24 09:03:13 EST 2005


Bob Parnes wrote:

> I must be missing something, so perhaps someone can explain
> the benefit of a paramstyle over the usual Python formatting
> style and maybe suggest a test to show it. Thanks.

set the parameter to "0; DROP DATABASE template1;" and see what
happens.

or set it to os.urandom(1000) and run your test a couple of times to see
what happens.

</F> 






More information about the Python-list mailing list