Re: [pygccxml-development] How to use the readme() method?
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-04-07 09:22:57
|
Roman Yakovenko wrote: >> How can a user find out/iterate over all declarations that "have >> something to say"? (other than iterating over all declarations and check >> if readme() returns something else than an empty list) > > This is the only way. And here is the reason: I don't expect users > will actually investigate > what is written there at run time and make some decision. I think they > will print the content > of readme and after this, they will go and add some treatment to > problematic declarations. ok, but I think those messages should never be silently ignored (unless the user wants it that way). Currently, the user has to be the "active part" and has to inspect the messages (by writing quite a bit of code), otherwise they get ignored. I'd like to see pyplusplus to take over the active part on this issue (as it would otherwise produce code that doesn't work). This can also be done in the "high level layer", that's why I wanted to check what the recommended way to obtain those messages efficiently is. - Matthias - |