trent nelson ktctpxaonresolvecom test_getargs2 failing windows x64 test test_getargs2 failed traceback recent call last file sbuildbotspythonx6430nelsonwin64buildlibtesttest_getargs2py line 190 test_n selffailunlessequal99 getargs_nlong typeerror long object interpreted integer drilling source code arrives pythongetargscconvertsimple windows x64 sizeof_size_t sizeof_long theres case n statement defined following iobj pynumber_indexarg im little confused point arg pyobject argobj_typetp_as_numbernb_int nonzero value however pynumber_indexarg performs two checks object fails results typeerror raised first check pylong_checkarg handled via pytype_fastsubclass ends following argobj_typetp_flags py_tpflags_long_subclass 0 tp_flags 284160 point py_tpflags_long_subclass 16777216 py_tpflags_int_subclass 8388608 check fails doesnt tp_flags either one values obj_typenb_int value shouldnt flags reflect type ive checked 32bit build pynumber_index pyobject representing literal 99 also exhibits behaviour also 32bit build n code path visits pylong_aslong calls pylong_aslongandoverflow test cases calling getargs_n test overflow raised correctly notionally x64 windows size_t long long long shouldnt pylong_aslonglongandoverflow method trent _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom wed 06 aug 2008 092053 0700 python3000 pylong_check behaviour clarification test_getargs2 failing windows x64