[Python-Dev] Length of str changes after passed in Python 2.5

2009-04-24 Thread leo.baren...@nokia.com
--- 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

Re: [Python-Dev] Length of str changes after passed in Python 2.5

2009-04-24 Thread Aahz
On Fri, Apr 24, 2009, leo.baren...@nokia.com wrote: 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 This sounds