You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.
Python list [[1, 2, 3], [4, 5, 6]] to golang [][]int conversion causes all inner slices being full empty.
list1 = list_to_slice([intGo(i) for i in [1, 2, 3]])
list2 = list_to_slice([intGo(i) for i in [4, 5, 6]])
ls = list_to_slice([list1, list2])
ls_back = slice_to_list(ls)
list1_back = slice_to_list(ls_back[0])
Causes AttributeError: 'sliceGo' object has no attribute 'len'
The text was updated successfully, but these errors were encountered:
Python list [[1, 2, 3], [4, 5, 6]] to golang [][]int conversion causes all inner slices being full empty.
Causes
AttributeError: 'sliceGo' object has no attribute 'len'
The text was updated successfully, but these errors were encountered: