From the linked what's new document:
"In Python 3.1, the I/O library has been entirely rewritten in C and is 2 to 20 times faster depending on the task at hand."
There also are some interesting improvements in the dispatch loop - 20% speedup in a micro benchmark or so.