Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103786

Re: Condition fullfilled to early but only "sometimes"

Newsgroups comp.lang.python
Date 2016-03-01 01:06 -0800
References <11915658-6fcd-4f83-94ba-5f5dceb3af11@googlegroups.com> <mailman.57.1456818581.20602.python-list@python.org>
Message-ID <35f6c95f-ed46-4ee1-9e65-dcf3d5872c05@googlegroups.com> (permalink)
Subject Re: Condition fullfilled to early but only "sometimes"
From jonas.thornvall@gmail.com

Show all headers | View raw


Den tisdag 1 mars 2016 kl. 08:49:57 UTC+1 skrev Ian:
> It's not at all clear what the problem is from your description. What
> is it that you expect the code to do? What is it doing instead that
> violates your expectation? Why are you asking for Javascript help on a
> Python mailing list?
> 
> On Mon, Feb 29, 2016 at 10:40 PM,  <jonas.thornvall@gmail.com> wrote:
> > I've been looking at the code for two days so i am a bit crosseyed.
> > If anyone could help me set the condition so the loop catch the last pair/pairs, it is kind of weird that it succeed sometimes and break to early and report fail others.
> >
> > I would be very greatful if anyone can see why it break to early and return fail. Although it is clearly a succes looking at the last remaining pair none connected pair.It should report fail for the network permutations that stall due to link exhausting, but not stall creating last pair.
> >
> > It just a minor bug due to some condition that i just not get.
> > Have a go 5 munutes maybe someone catch the faulthy condition.
> >
> > http://jt.node365.se/mydebug1.html
> > --
> > https://mail.python.org/mailman/listinfo/python-list

Here is a script to draw networks, drag and drop nodes. So the function will go here, right now only node deep one work.

http://jt.node365.se/nodes11.html

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Condition fullfilled to early but only "sometimes" jonas.thornvall@gmail.com - 2016-02-29 21:40 -0800
  Re: Condition fullfilled to early but only "sometimes" Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-01 00:48 -0700
    Re: Condition fullfilled to early but only "sometimes" jonas.thornvall@gmail.com - 2016-03-01 00:47 -0800
    Re: Condition fullfilled to early but only "sometimes" jonas.thornvall@gmail.com - 2016-03-01 00:56 -0800
    Re: Condition fullfilled to early but only "sometimes" jonas.thornvall@gmail.com - 2016-03-01 01:06 -0800

csiph-web