From: Karol L. <kar...@kn...> - 2007-04-26 10:27:49
|
On Thursday 26 April 2007 08:04, Noel wrote: > Do any of our parsers set the attribute, but then delattr it? Might be > worth checking. Also, it would be possible to check the types of > attributes at this point, using an assert statement. I can look into > this. langner@slim:~/tmp/python/cclib/trunk/src/cclib/parser$ grep "delattr" * logfileparser.py: delattr(self, attr) The actual parsing no - the only place it is used is in LogFile.clean(). What do you mean by "checking the types of attributes at this point"? Do you mean checking that the value is the correct type inside LogFile.__setattr()? > > 5) Numeric->numpy transition. This isn't strictly related to the > > refactoring, but it might as well be done at once. The related changes > > seem to be trivial. > > Can we leave this until all current tests pass after the first refactoring. Of course. I added it, becuase hopefully the refactoring will not break any tests. - Karol -- written by Karol Langner Thu Apr 26 14:26:08 CEST 2007 |