Reading Aahz's 2001 OSCon presentation, I ran into a slide that crystalized it [paraphrased]:
- Perl: There's more than one way to do it
- Python: There should be one (preferably only one) obvious way to do it
- Python's threading library is philosophically perl-ish
That pretty much says it all. Well, that and the main classes are (still) virtually undocumented.
Update: I'm referring to the synchronization classes in this module, not the Thread class, which is straightforward enough.
Comments
I (and the linked presentation) are referring to the synchronization classes provided by the threading module.
At any rate, I'm more concerned about the lack of "debuggability" of Python threads (although I haven't re-checked this since around Python 2.2).