Partically revert commit c2e1607a51 to fix a reference leak.
c2e1607a51
Miscellaneous source files for the main Python shared library