doctest takes over pdb; this is unacceptable
I'm not even sure why it does it. To allow pretend-calls to pdb.set_trace()? It makes debugging doctest itself nearly impossible, which is a significant downside.
If some way to do the same thing as whatever it does is possible, but without messing with trace hooks...