love/hate python stdlib modules

Titus wants to know which standard library modules we use frequently, even though we don’t like how they work or find the documentation confusing.

re – I can never remember the difference between search() and match()

timeit – I haven’t actually used it that often, but find the API a little weird. Why do I pass the text of the code to time, instead of a callable like a function or method?

optparse – It’s not very object oriented. Why do I give a name for the action, instead of instantiating different types of option handlers for different behaviors?

logging – There are so many options. It has great potential, but I always have to look for an example to get a basic configuration setup.

bisect – Why isn’t this handled as a method of list? Something like insert_sorted()?

distutils – Don’t even get me started.

What are yours?