3 May 2013 3 May '13
a solution i found for solving this problem was
for f in index: d = parser_file.MyParser.parse(f)
#Now do everything you want to do with the parsed information
The python buildin reload for modules seems to be cleaning up the reference stuff holding by the parser.