Re: [PyQt] QHttpMultiPart impossible to use

2012-06-20 Thread Phil Thompson
On Tue, 19 Jun 2012 18:10:31 -0700, Doogster wrote: > How does one use PyQt's QHttpMultiPart and QHttpPart classes? > > On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the > attached code sample segfaults the Python interpreter. As has been pointed out you need to keep a reference

Re: [PyQt] QHttpMultiPart impossible to use

2012-06-19 Thread Andrew Suffield
On Tue, Jun 19, 2012 at 06:10:31PM -0700, Doogster wrote: > On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the > attached code sample segfaults the Python interpreter. It's probably the usual garbage-collection problem: your QHttpMultiPart is being destroyed before the network manag