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

Aahz aahz at pythoncraft.com
Sat Apr 25 00:34:18 CEST 2009


On Fri, Apr 24, 2009, Leo.Barendse at 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 like a usage question.  Please use comp.lang.python (or
possibly the tutor mailing list).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair


More information about the Python-Dev mailing list