Thread safe?

Asked by Javier Collado

Is launchpadlib thread safe? If so, are there any guidelines to use threads in a launchpadlib script?

I'm working in a script that gets all the bugs for a given project and, after that, gathers some additional information from each bug. The problem is that the script takes a really long time to complete so I've tried to speed it up by using a separate thread for each bug, but I get several errors so I'm not sure I can use launchpadlib this way.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu python-launchpadlib Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#1

It seems that launchpadlib is not thread safe. See bug 513116.

Revision history for this message
Javier Collado (javier.collado) said :
#2

Thanks Eliah Kagan, that solved my question.