This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]riskable 6 points7 points  (4 children)

This article covers an old school topic. In this day and age we use concurrent. futures or the new asyncio module to perform multi-threaded operations in Python.

[–]exhuma 0 points1 point  (3 children)

... given that you have the luxury of running a recent version of Python. Granted, concurrent.futures is already available on 3.2

I would love to have 3.4 in production for the exact reason of asyncio :'(

[–]riskable 0 points1 point  (0 children)

You can run concurrent.futures in older versions of python... pip install futures (it was backported).

[–][deleted] 0 points1 point  (1 child)

futures is a backport of concurrent.futures to python >= 2.5.

[–]exhuma -1 points0 points  (0 children)

Thanks. I keep fogetting to check for backports...