Now it is getting wacky was( Re: A modest Error (I mean Prop

Mikael Olofsson mikael at isy.liu.se
Fri Jan 21 03:46:02 EST 2000


On 20-Jan-00 Arinte wrote:
 >  Just to test len.  And now my program works???? If I remove this line or
 >  even just remove the print it doesn't work???
 >  Now what ??? If anything.  Another not here that critical print statement
 >  doesn't print the len of the string either...

It sure is wacky! I think I'm getting lost here. What does it print? 
Just some other arbitrary integer or somthing completely different?
Both len and type seems redefined. What does len and type do before 
and after you call the function the first time and before and after 
you call your function the second time? 

Just to be sure: Are you doing something like

  from foo import *

somewhere?

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    21-Jan-00
Time:    09:38:58

This message was sent by XF-Mail.
-----------------------------------------------------------------------



More information about the Python-list mailing list