sananth12 / ImageScraper

:scissors: High performance, multi-threaded image scraper
GNU General Public License v3.0
763 stars 101 forks source link

Use ThreadPoolExecutor #78

Closed ssundarraj closed 9 years ago

ssundarraj commented 9 years ago

We can use this instead of SimplePool. This will result in removal of one dependancy. https://docs.python.org/3.3/library/concurrent.futures.html#threadpoolexecutor

ssundarraj commented 9 years ago

futures isn't available out of the box in python2. It's available from python3.2. This will ease the installation for users that run this on python3.2+. Also, ThreadPoolExecutor is far more mature as a library than SimplePool.