Andrew V. Jones <[email protected]> added the comment:
Here's some representative code that triggers the issue:
```
def loop():
a_node = boost_python_library.get_linked_list()
all_elems = []
while a_node is not None:
#
# Uncomment the below to make the crash disappear
#
# all_elems.append(a_node)
#
a_node = a_node.next
```
The *really* interesting bit is that if we save what comes off the Boost.Python
linked list into a Python-proper list (`all_elems` as above), then the crash
goes away.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43351>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com