From: Noel O'B. <bao...@gm...> - 2007-07-12 08:11:06
|
On 12/07/07, Karol Langner <kar...@kn...> wrote: > On Thursday 12 July 2007 03:03, Karol Langner wrote: > > The biggest change is that Logfile.parse() returns something, that is an > > instance of cclibData, which should hold the parsed attributes upen return. > > It is the biggest, because it changes the way cclib will be used. Now you > > need to write something like "data = ccopen(...).parse()" and data will > > hold the parsed data. > > Maybe a function like ccparse(arg) = ccopen(arg).parse() would make a good > shortcut? I feel like we're starting to overengineer here, and likely to confuse users who just want a single way to parse files. We separated parse() on purpose, so that people could have access to the settings before parsing. If you feel that *this* is not necessary, I would be interested in removing that. > -- > written by Karol Langner > Thu Jul 12 09:24:22 EDT 2007 > |