> I believe that the solution is to lead the user to say explicitly what he > expects. The goal of #15706 is to add a warning, so that later all graphs > will be simple by default. Users who want to deal with multigraphs will > have to say it explicitly, and so decide what add_edge will do in the > future. This will spare them wrong results. >
Hi Nathan, What about having an optional argument that specifies whether the user wants a graph or mult-graph? If this is not set then the code falls back to the current implementation and tries to infer what the user wants. This way the change is fully backwardly compatible, friendly to novice users and any one who wants can specify the type of graph. Andrew -- 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.
