[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Object lifetime issues with QWebEngineUrlSchemeHandler and QBuffer
From:       Kovid Goyal <kovid () kovidgoyal ! net>
Date:       2016-09-15 3:52:10
Message-ID: 20160915034010.GM5097 () qedette
[Download RAW message or body]

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@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@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt


-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
_______________________________________________
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