Restore some python mandating in configure.ac.
Revert "Remove a few more merge-breaking things."

This reverts commit 31e811bacd9d6bde9f473e19b988281e1a698e7d.
Revert just garbage collection stuff from Reuben's Python patch.
A bit more.