Ask Your Question

Revision history [back]

That method was introduced in the file src/sage/graphs/graph.py as part of

which was merged in Sage 8.7.rc0.

Examples and tests all use nonedgesonly=False, yet nonegesonly=True was made the default.

That choice is therefore quite surprising indeed. Nobody raised that point in the ticket discussion.

Changing the default would make sense but might be tricky in terms of deprecation procedure.