Interesting bug

joy99 subhakolkata1234 at gmail.com
Sat Jan 1 06:52:55 EST 2011


Dear Group,

Hope all of you are fine and spending nice new year evenings.

I get a bug in Python over the last 4 years or so, since I am using
it. The language is superb, no doubt about it. It helped me finish
many a projects, with extraordinary accuracy. But long since, I was
getting an interesting bug. In the initial days, I thought it may be
my learning error or usability error. It comes every now and then. The
bug is suppose I am calling a library or using some logical operator,
it works fine initially but if I want to copy the code to some other
modules, same line of codes do not run at all.

The remedy I do is,
(a) I take the code from file and test it in GUI, more astonishingly
in 99% of the cases I found the code llines, are correct.
Then I apply a brute force technique I rewrite the whole code again.
For small codes this technique is okay, but if I write mammoth code,
and all on a sudden some interesting behavior came out, well it really
feels bad. I keep now a days some time out that I have to do this, but
is there any definite solution? I believe there is some, as I do not
know them, as it happens, unnecessarily get upset.

I use Python on WinXP service pack2, I started to use Python2.5.1, and
now I am using Python2.6.5, IDLE as GUI.

Best Regards,
Subhabrata



More information about the Python-list mailing list