Skip to content

Commit 31671f7

Browse files
committed
Stackless issue python#270: Remove field PyFrameObject.f_execute
Fix test_sys.SizeofTest.test_objecttypes for frames. Stackless has now again the same frame size as C-Python.
1 parent bf0c174 commit 31671f7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎Lib/test/test_sys.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,8 +1034,7 @@ class C(object): pass
10341034
nfrees = len(x.f_code.co_freevars)
10351035
extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\
10361036
ncells + nfrees - 1
1037-
slextra = 'P' if test.support.stackless else ''
1038-
check(x, vsize('5P2c4P3ic' + CO_MAXBLOCKS*'3i' + slextra + 'P' + extras*'P'))
1037+
check(x, vsize('5P2c4P3ic' + CO_MAXBLOCKS*'3i' + 'P' + extras*'P'))
10391038
# function
10401039
def func(): pass
10411040
check(func, size('12P'))

0 commit comments

Comments
 (0)