Re: documenting whether or not the seq_of_parameters to executemany is expected to be run in order given
"Mike Bayer" <[email protected]> Fri, 07 Apr 2023 14:09:18 -0400
| Newsgroups | gmane.comp.python.db |
|---|---|
| Message-ID | <[email protected]> |
--===============6231733204596377785== Content-Type: multipart/alternative; boundary=a70b4aa257e243148792c9dd024fd646 --a70b4aa257e243148792c9dd024fd646 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable OK that's two "sure, let's absolve ourselves of this problem" responses = :) =20 any opinion on executemany() being less useful if this requirement is no= t established, and/or encouraging DBAPI authors to at least *document* t= his themselves and maybe *prefer* maintaining ordering ? On Fri, Apr 7, 2023, at 1:54 PM, Erlend Egeberg Aasland wrote: > On Fri, 7 Apr 2023 at 19:15, Mike Bayer <[email protected]> wro= te: >>=20 >> [=E2=80=A6] The scope here is, should pep-249 add some verbiage: "the= order in which parameters are processed by executemany() should not be = assumed to be in the order the parameters were given". [=E2=80=A6] >=20 > Sounds good to me. >=20 > Erlend >>=20 --a70b4aa257e243148792c9dd024fd646 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso= Normal,p.MsoNoSpacing{margin:0}</style></head><body><div>OK that's two "= sure, let's absolve ourselves of this problem" responses :) = <br></div><div><br></div><div>any opinion on executemany() being less us= eful if this requirement is not established, and/or encouraging DBAPI au= thors to at least *document* this themselves and maybe *prefer* maintain= ing ordering ?<br></div><div><br></div><div><br></div><div><br></div><di= v>On Fri, Apr 7, 2023, at 1:54 PM, Erlend Egeberg Aasland wrote:<br></di= v><blockquote type=3D"cite" id=3D"qt" style=3D""><div dir=3D"auto">On Fr= i, 7 Apr 2023 at 19:15, Mike Bayer <<a href=3D"mailto:mike_mp@zzzcomp= uting.com">[email protected]</a>> wrote:<br></div><div><div cl= ass=3D"qt-gmail_quote"><blockquote class=3D"qt-gmail_quote" style=3D"mar= gin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-= left-width:1px;border-left-style:solid;padding-left:1ex;border-left-colo= r:rgb(204, 204, 204);" dir=3D"auto"><div><div><br></div><div dir=3D"auto= ">[=E2=80=A6] The scope here is, should pep-249 add some verbiage: "the = order in which parameters are processed by executemany() should not be a= ssumed to be in the order the parameters were given". [=E2=80=A6]<br></d= iv></div></blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">Soun= ds good to me.<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Er= lend<br></div><blockquote class=3D"qt-gmail_quote" style=3D"margin-top:0= px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-widt= h:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204= , 204, 204);" dir=3D"auto"><div><div dir=3D"auto"><br></div></div></bloc= kquote></div></div></blockquote><div><br></div></body></html> --a70b4aa257e243148792c9dd024fd646-- --===============6231733204596377785== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ DB-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/db-sig --===============6231733204596377785==--