
3 May
2013
3 May
'13
12:32 p.m.
Kai Hoppert, 03.05.2013 11:06:
a solution i found for solving this problem was
import mymodule.parser_file
for f in index: d = parser_file.MyParser.parse(f)
#Now do everything you want to do with the parsed information reload(mymodule.parser_file)
The python buildin reload for modules seems to be cleaning up the reference stuff holding by the parser.
I can't see why it should. Could you make sure you are talking about the same issue as discussed in this thread?
Stefan