Cythonizing and creating cpp code question

22 views
Skip to first unread message

Randall

unread,
Jan 22, 2022, 4:49:52 PM1/22/22
to sage-devel
Hi all:

I am looking at the pyx code now but it seems I am going to have to understand how the cython interpreter works in order to push back up the changes in the cpp code which I did to clear up all the warning messages.

Example (the free_algebra_letterplace.pyx --> free_algebra_letterplace.cpp)

owner@localhost:~/sage/sage-9.5> vim ./src/sage/algebras/letterplace/free_algebra_letterplace.pyx
Is the location of the source pyx --> object cpp code if I am understanding how this translator works.

owner@localhost:~/sage/sage-9.5> vim ./pkgs/sagemath-standard/build/cythonized/sage/algebras/letterplace/free_
algebra_letterplace.cpp 
is the location of the object cpp code (I trust)

I did make a small change in the pyx code, but did NOT get what I expected to see in the cpp code (so I have a learning curve ahead of me)

Any cynthonizing experts here?

I will poke around looking for the cython documents and see how this translator works.

What I see happening in my 105 cpp files is variables NOT being initialized correctly. But this change has to come from the cythonizer, not by changing the cpp code itself.

Randall

Reply all
Reply to author
Forward
0 new messages