[PyQt] Object lifetime issues with QWebEngineUrlSchemeHandler and QBuffer
Kovid Goyal
kovid at kovidgoyal.net
Thu Sep 15 04:40:10 BST 2016
On Wed, Sep 14, 2016 at 04:50:31PM +0200, Florian Bruhin wrote:
> I don't get why this works in vise_scheme.py, but neither in
> qutebrowser nor in my minimal example...
Sorry, I missed this in my last reply.
The reason is that vise_scheme.py passes QByteArrays that are cached
(therefore a reference is kept to them) rather than byte strings
directly.
Kovid.
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
> GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
> I love long mails! | http://email.is-not-s.ms/
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
_____________________________________
Dr. Kovid Goyal
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
More information about the PyQt
mailing list