Hi Christian,

On Mon, Dec 6, 2010 at 10:38 AM, Christian Stump
<christian.st...@gmail.com> wrote:
> I gonna open a ticket on this, if no one was already looking at it.

The problem is fixed at ticket #8395 [1]. For example, after applying
the patches on that ticket, this is what I get using the sample
session you posted above:

[mv...@sage sage-main]$ pwd
/dev/shm/mvngu/sage-4.6/devel/sage-main
[mv...@sage sage-main]$ hg qimport
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/8395/trac-8395_degree.patch
&& hg qpush
adding trac-8395_degree.patch to series file
applying trac-8395_degree.patch
now at: trac-8395_degree.patch
[mv...@sage sage-main]$ hg qimport
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/8395/trac_8395-part2.patch
&& hg qpush
adding trac_8395-part2.patch to series file
applying trac_8395-part2.patch
now at: trac_8395-part2.patch
[mv...@sage sage-main]$ ...
[mv...@sage sage-4.6]$ ./sage -br main
<compile messages>
----------------------------------------------------------------------
| Sage Version 4.6, Release Date: 2010-10-30                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: D = Graph()
sage: D.allow_multiple_edges(True)
sage: D.add_edges([(0,1), (0,1)])
sage: D.edges(labels=False)
[(0, 1), (0, 1)]
sage: D.degree()
[2, 2]
sage: D.delete_edge(0, 1)
sage: D.edges(labels=False)
[(0, 1)]
sage: D.degree()
[1, 1]


[1] http://trac.sagemath.org/sage_trac/ticket/8395

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to