-----------------------------------------------------------

I have the following code:

#  len(all_svs) = 10


# the I call a function  with 2 list parameters

def proc_line(line,all_svs) :


# inside the function the length of the list "all_svs" is 1 more -> 11
# I had to workaround it


for i in range(len(all_svs)  - 1 ) :    # some how the length of all_svs  is 
incremented !!!!!!!!!!!!!!!!!!!!!!!!!!!

--------------------------------------------------------------

Is this a compiler bug ??

Or is it because of my first try of Python

Thanks

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to