add some tests
Showing
This diff is collapsed.
I add the tp_new
in bool
, complex
, float
, int
, long
. These part almost identical to this PR, so I just fetch it and apply my implementation. The other part is same as that PR.