On 18-07-2011, M.-A. Lemburg wrote: >> IMHO I would prefer to see the DBAPI have exactly two paramstyles, >> named and qmark, and have all DBAPIs support both consistently. >> The (py)format styles continuously introduce the mixing of Python's >> string formatting behavior with the presentation of bound parameters, >> which are two completely different things. > > +1 >
+1 also Too many formats are a risk that user will not bother and use string formatting. To help we could provide reference implementation of current formats converters. It's not a bottleneck since the parsing is done only one time. -- William Dodé - http://flibuste.net Informaticien Indépendant _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig