Michael Bayer wrote: > > On Jul 18, 2011, at 3:33 AM, M.-A. Lemburg wrote: > >> >> For the next version, we're likely going to reduce the number >> of allowed formats to just two (%s and ?, IIRC), since having >> lots of different formats has resulted in much confusion. > > Why have both %s and ? (both positional?) If there is to only be positional, > what purpose is served by having two choices for the format ?
It's well possible that I've misremembered the ones we picked in a discussion some time ago. Could well have been named and qmark. > Also is it accurate that named parameters, support for dictionaries passed to > execute(), will be dropped ? This leads things back in the "more difficult > to use" direction IMHO. Depends on which parameter types we choose. Note that I don't think we'll actually drop the support, just require support for two types and leave the others optionally supported as well. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jul 18 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig