make this slightly more like CPython's; I think we should just take their entire thing though
directly including getarg.c would require adding quite a bit of other functionality
tried again to add getarg.c; gave up