These are chat archives for dropbox/pyston
int()in #928 , but the second test seems not work on CI. I checked on my local machine, but didn't find the reason yet.
if sys.version_info >= (2, 7, 6): .. do the normal test .. else: print "TypeError: missing string argument" # ie print the expected output on platforms that don't support this check
mpz_get_duse "round to zero". But CPython need
round to nearest. I found a solution which convert mpz_t to mpfr_t first. Then use "round to nearest" flag to get the double. But it bring new dependency. Does there has a better way?
float(A_BIG_LONG), it will call
tp_deallocto custom functions
func_codeassignments and the new flag, I'm wondering if I should just only allow setting
fwhen the source and dest
CLFunction->sourceis available (+add assert that internal_callable == NULL)?
sourceis a good idea
func_codeattribute (because the are
function_clsetc) that's also why I yesterday wrongly assumed that one can't access the code_object of non python funcs at all.