Fwd: Python Signal/Slot + QThred code analysis

Juan Christian juan0christian at gmail.com
Fri Nov 28 00:29:14 CET 2014

On Thu Nov 27 2014 at 9:16:38 PM Juan Christian <juan0christian at gmail.com>
I'll read the code thoroughly and reply to you if I find something strange,
many thanks!

So, instantly I found one issue, you said that this code won't block the
GUI, only the thread event loop, but if we keep moving the window while
it's open, every time new info is printed the GUI freezes for like 1-2

And why this approach of a single instance is better? I mean, I'll have to
call Outpost every time I get new data from my other API, because there
will be different users, so I need to create different instances so I call
the site with a new ID, don't I?

Maybe the answer for that question is that you using a timer that is ALWAYS
active and ALWAYS calling the the outpost site, so I'll have something like:

var = Outpost('12345')
var.posts -> 100
var.posts -> 35

Is that right? But I don't think that always calling the site this way is
good for them and for me, sometimes I may not get new users for like 10~15
minutes, so I would have wasted a lot of calls for nothing. That's why I
only instantiate/call the site when I get new users.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141127/51c44ea9/attachment.html>

More information about the Python-list mailing list