<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 March 2018 at 12:34, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15 Mar 2018, at 10:14 am, J Barchan <<a href="mailto:jnbarchan@gmail.com">jnbarchan@gmail.com</a>> wrote:<br>
><br>
> Docs:<br>
><br>
> <a href="http://doc.qt.io/qt-5/qsqlquery.html#exec" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/<wbr>qsqlquery.html#exec</a><br>
> <a href="http://doc.qt.io/qt-5/qsqlquery.html#exec-1" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/<wbr>qsqlquery.html#exec-1</a><br>
><br>
> Python 3 PyQt5 QtSql.py:<br>
><br>
> def exec(self, p_str): # real signature unknown; restored from __doc__<br>
> """ exec(self, str) -> bool """<br>
> return False<br>
><br>
> def exec_(self, p_str=None): # real signature unknown; restored from __doc__ with multiple overloads<br>
> """<br>
> exec_(self, str) -> bool<br>
> exec_(self) -> bool<br>
> """<br>
> return False<br>
><br>
> This means that you can only invoke the no-parameter <a href="http://doc.qt.io/qt-5/qsqlquery.html#exec-1" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/<wbr>qsqlquery.html#exec-1</a> via `exec_()` and not `exec()`, which I didn't understand when trying to call it.<br>
><br>
> Is this required/intentional?<br>
<br>
It should be fixed in tonight's snapshot.<br>
<br>
Thanks,<br>
Phil</blockquote></div><br></div><div class="gmail_extra"><div style="font-family:tahoma,sans-serif" class="gmail_default">Thanks Phil, for your sterling support & reaction!</div><br clear="all">-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:tahoma,sans-serif">Kindest,</span></div><div><span style="font-family:tahoma,sans-serif">Jonathan</span></div></div></div></div></div>
</div></div>