Change BoxedList::capacity to BoxedList::allocated
CPython listsort need "allocated" to check and throw exception: https://github.com/Daetalus/pyston/blob/d84105ffc8a4855bb6e00d9c22ba2baa8bddf969/from_cpython/Objects/listobject.c#L2091 https://github.com/Daetalus/pyston/blob/d84105ffc8a4855bb6e00d9c22ba2baa8bddf969/from_cpython/Objects/listobject.c#L2180
Showing
Please register or sign in to comment