[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Missing/incorrect overload for `QSqlQuery.exec()`?
From: J Barchan <jnbarchan () gmail ! com>
Date: 2018-03-20 8:54:32
Message-ID: CABz3M_-DO5MSn2qR_ZL1Q1KUTcwuf2wR9rKfsSwYnRBC29HV0g () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 17 March 2018 at 12:34, Phil Thompson <phil@riverbankcomputing.com>
wrote:
> On 15 Mar 2018, at 10:14 am, J Barchan <jnbarchan@gmail.com> wrote:
> >
> > Docs:
> >
> > http://doc.qt.io/qt-5/qsqlquery.html#exec
> > http://doc.qt.io/qt-5/qsqlquery.html#exec-1
> >
> > Python 3 PyQt5 QtSql.py:
> >
> > def exec(self, p_str): # real signature unknown; restored from __doc__
> > """ exec(self, str) -> bool """
> > return False
> >
> > def exec_(self, p_str=None): # real signature unknown; restored from
> __doc__ with multiple overloads
> > """
> > exec_(self, str) -> bool
> > exec_(self) -> bool
> > """
> > return False
> >
> > This means that you can only invoke the no-parameter
> http://doc.qt.io/qt-5/qsqlquery.html#exec-1 via `exec_()` and not
> `exec()`, which I didn't understand when trying to call it.
> >
> > Is this required/intentional?
>
> It should be fixed in tonight's snapshot.
>
> Thanks,
> Phil
Thanks Phil, for your sterling support & reaction!
--
Kindest,
Jonathan
[Attachment #5 (text/html)]
<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>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic