3 ms·
The concurrent.futures module looks interesting: http://docs.python.org/dev/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module http://docs.python.org/dev/
by xiongchiamiov 16y ago
The concurrent.futures module looks interesting: http://docs.python.org/dev/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module http://docs.python.org/dev/whatsnew/3.2.html#pep-3148-the-co...
I don't have much experience in that area, so I can't judge if it's as cool as I think it is. Will anyone help me out?
The ability to safely convert string representations of data structures into the structures themselves seems pretty sweet, too: http://docs.python.org/dev/whatsnew/3.2.html#ast http://docs.python.org/dev/whatsnew/3.2.html#ast
- mattgreenrocks 16y ago> I don't have much experience in that area, so I can't judge if it's as cool as I think it is. Will anyone help me out? It is quite cool. Strictly speaking, it doesn't have to be in standard library, but Python has always had a batteries-included mentality anyway. Besides, it offers a more sane way to parallelize execution than mutexes, and that mentality should be encouraged. The entire java.util.concurrent.* library is quite good, actually. No shame in porting it.