Message72725
sq_dict review:
have sqlite quote/escape self._mtn before using it with a python %s
substitution. or pass it into the sql query function as a positional ?
parameter like you do for keys and values. (avoid sql injection)
raise a TypeError rather than a ValueError when you don't like the key
or value type.
also, to test the type, isinstance(val, str) is better than using type(val). |
|
Date |
User |
Action |
Args |
2008-09-07 00:54:47 | gregory.p.smith | set | recipients:
+ gregory.p.smith, skip.montanaro, rhettinger, jcea, josiahcarlson, pitrou, gregburd |
2008-09-07 00:54:47 | gregory.p.smith | set | messageid: <1220748887.04.0.518138103811.issue3783@psf.upfronthosting.co.za> |
2008-09-07 00:54:45 | gregory.p.smith | link | issue3783 messages |
2008-09-07 00:54:45 | gregory.p.smith | create | |
|