The attached patch fixes warnings found during compilation (these weren't fixed earlier because I forgot to test with -O2).
Created attachment 200206 [details, diff] patch to python.c
Fixed in r198.