testing extending python using c