Lie Hetland book: Beginning Python..

carlo mybiru at yahoo.it
Wed Nov 9 13:57:32 EST 2005


Gerhard Häring ha scritto:

> The reason why pysqlite 0.x/1.x used paramstyle "pyformat", based on
> Python string substitution for SQL parameters is that at the time
> pysqlite was started, SQLite 2.x did not have any support for parameter
> binding. So we had to "fake" it in Python, just like the MySQL interface
> does (for the same reasons).

Thanks Gerhard for your valuable help.




More information about the Python-list mailing list