PyQT: QWebView with custom QNetworkAccessManager

Phil Thompson phil at riverbankcomputing.com
Wed Feb 2 19:32:09 CET 2011


On Wed, 02 Feb 2011 10:53:54 +0100, Gelonida Gmail <gelonida at gmail.com>
wrote:
> Hi Phil,
> 
> On 02/02/2011 09:28 AM, Phil Thompson wrote:
>> On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida <gelonida at gmail.com> wrote
>>
>> In fact my first experiments failed horribly due to a tiny PyQt detail.
>>
>> I expected that, the variable new_manager does not have to be
>> persistent.
>>> I naively assumed, that a call to setNetworkAccessManager() would keep
a
>>> reference to new_manager and thus avoid its destruction this does not
>>> seem to be the case.
>> It is the case in current versions.
>>
>> Phil
> 
> Thanks for the confirmation/
> 
> 
> Was using PyQt: 4.7.2 263938
> 
> From which release on is it fixed?

v4.8

Phil



More information about the Python-list mailing list