Stream: helpdesk (published)

Topic: juliacall: Python does not accept !


view this post on Zulip Leandro Martínez (Sep 05 2022 at 16:45):

Seems that in Python the ! is not a valid character:

In [15]: list = jl.CellListMap.neighborlist!(system)
  File "<ipython-input-15-59232b509f2e>", line 1
    list = jl.CellListMap.neighborlist!(system)
                                      ^
SyntaxError: invalid syntax

How do you people deal with this for interoperability? Define for instance myfunc_inplace or similar just to support that interface? Or am I missing something simpler?

view this post on Zulip Jayesh K. Gupta (Sep 06 2022 at 20:01):

neighborlist_b should work?

view this post on Zulip Andrés Riedemann (Sep 07 2022 at 01:08):

https://github.com/SciML/diffeqpy#note-about-


Last updated: Oct 02 2023 at 04:34 UTC