Chris Adamson added the comment:
I think I found my problem. Since I didn't *COPY* the array that I
created with os.listdir I was actually appending to it, my bad.
--
status: pending -> closed
___
Python tracker
<http://bugs.python.or
New submission from Chris Adamson :
When I iterate through a list created using os.listdir it seems to grow
as I create files in that directory. I want a static copy of the list of
files in the directory prior to me writing new files into it.
Here is my code:
fileList = os.listdir