#19385: Refactor DiGraph.__init__
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.9
enhancement | Resolution:
Priority: major | Merged in:
Component: graph | Reviewers:
theory | Work issues:
Keywords: | Commit:
Authors: | cf53613abb473f53411b50bd2ddc049050cd6dbc
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
u/ncohen/19385 |
Dependencies: |
#19381 |
-------------------------+-------------------------------------------------
Changes (by ncohen):
* status: new => needs_review
* commit: => cf53613abb473f53411b50bd2ddc049050cd6dbc
* dependencies: => #19381
* branch: => u/ncohen/19385
Comment:
Simon: sorry to disturb, but I think I will need your help for this
branch. All doctests pass in graph/ except for a test in
`DiGraph.path_semigroup` that I absolutely do not understand `:-/`
Here is a trace, though it will appear soon on the patchbot (and I expect
other related doctests to fail in combinat/).
Nathann
{{{
File "digraph.py", line 2671, in
sage.graphs.digraph.DiGraph.path_semigroup
Failed example:
F = Q.path_semigroup(); F
Exception raised:
...
File "sage/misc/cachefunc.pyx", line 563, in genexpr
(build/cythonized/sage/misc/cachefunc.c:2439)
return tuple(_cache_key(item) for item in o)
File "sage/misc/cachefunc.pyx", line 561, in
sage.misc.cachefunc._cache_key
(build/cythonized/sage/misc/cachefunc.c:2644)
o = o._cache_key()
File "sage/structure/sage_object.pyx", line 410, in
sage.structure.sage_object.SageObject._cache_key
(build/cythonized/sage/structure/sage_object.c:2918)
raise TypeError("{} is not hashable and does not implement
_cache_key()".format(type(self)))
TypeError: <class 'sage.graphs.digraph.DiGraph'> is not hashable and
does not implement _cache_key()
**********************************************************************
}}}
----
Last 10 new commits:
||[http://git.sagemath.org/sage.git/commit/?id=efb842b6b5d15780c892f45d76baaea97e684cc4
efb842b]||{{{trac #19381: disclaimer}}}||
||[http://git.sagemath.org/sage.git/commit/?id=d9522bbcaca763cf89a3c81f47cc2126e38b35a1
d9522bb]||{{{trac #19381: seidel adjacency matrix}}}||
||[http://git.sagemath.org/sage.git/commit/?id=f0f8ee4cff832d33e43549d2f182d86e09d321dc
f0f8ee4]||{{{trac #19381: adjacency matrix}}}||
||[http://git.sagemath.org/sage.git/commit/?id=7a51fde66641266ec6ac91bdb0b54d82a7f6fc19
7a51fde]||{{{trac #19381: Fix seidel adjacency}}}||
||[http://git.sagemath.org/sage.git/commit/?id=5abbd4b53f337acd89738db4a3a067c2b54618d5
5abbd4b]||{{{trac #19381: Incidence matrix}}}||
||[http://git.sagemath.org/sage.git/commit/?id=cf7f5159941c63f64d54912c8bc97f5ec56235ac
cf7f515]||{{{trac #19381: dict_of_dicts}}}||
||[http://git.sagemath.org/sage.git/commit/?id=f9fc7a89220dced27599cec5b903c9feb26d0459
f9fc7a8]||{{{trac #19381: dict of lists}}}||
||[http://git.sagemath.org/sage.git/commit/?id=dd28d937cb552e4f97e764ce0e9a02c5e6073a31
dd28d93]||{{{trac #19381: dig6}}}||
||[http://git.sagemath.org/sage.git/commit/?id=9bdf527fd59509647ccefd86cbd87bb2e92071b4
9bdf527]||{{{trac #19381: Typo}}}||
||[http://git.sagemath.org/sage.git/commit/?id=cf53613abb473f53411b50bd2ddc049050cd6dbc
cf53613]||{{{trac #19385: Refactor DiGraph.__init__}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19385#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.