Applied Ulrich Kunitz's patches to slightly optimize Python serialization code.

3 files changed