Yoooooooooo Jernej !

Not sure I understood what you wanted, but in 
graphs/base/static_sparse_graph.pyx there is a Cython attribute which 
points toward a Python list.

That's because we have to store the labels of each edge, and because that 
label can be any python object.

If you look for instances of "edge_labels" in that file, you will see how 
it is defined and how it is cast into a list whenever needed.

Nathann

P.S.: And then you can grep Sage's code for things like 
"cpython.Py_XDECREF". That will probably be the sign of something similar, 
though it may be less readable ;-)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to