Re: [sage-combinat-devel] import statement strange behaviour

2012-05-22 Thread Nicolas M. Thiery
On Mon, May 21, 2012 at 10:12:16PM +0200, Vincent Delecroix wrote: I really don't know how we can obtain the name used inside the function. I doubt one could even do it: in f(x) the parameter x is evaluated before passing it down to the function f. Potential workarounds: - Accept things as

Re: [sage-combinat-devel] bug in poset

2012-05-22 Thread Darij Grinberg
Hi Anne, Did you make the changes in the source code? Then you can just do sage -br Thanks - I got that wrong (thought this is what upgrade would do)! and test your function. If you are happy with your changes and want to put them under mercurial supervision do hg qnew rank-dg.patch

Re: [sage-combinat-devel] bug in poset

2012-05-22 Thread Franco Saliola
Hello Anne, Darij, On Tue, May 22, 2012 at 2:50 PM, Darij Grinberg darijgrinb...@gmail.comwrote: Hi Anne, For a finite poset perhaps the easiest would be to - start with a random element in the poset, assign rank 0 - look at all covers and cocovers and assign the rank according to the

Re: [sage-combinat-devel] bug in poset

2012-05-22 Thread Anne Schilling
Hi Darij, Did you make the changes in the source code? Then you can just do sage -br Thanks - I got that wrong (thought this is what upgrade would do)! and test your function. If you are happy with your changes and want to put them under mercurial supervision do hg qnew