Re: [pygccxml-development] improving user experience
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-07-17 15:16:25
|
Roman Yakovenko wrote: > Also I completely forgot about "readme" functionality. May be my > approach is wrong. > May be I need to change the code. I think, that instead of reporting > warning from > "ignore" property, I need to report it from module_creator/creator.py file. > > What do you think? Well, I have to admit that I actually was somewhat surprised to see the __report_warning() message being invoked when accessing the "ignore" property but then, as long as it works..... But it does sound reasonable to me if problems are reported when the code creator tree is created, so maybe this would make the code more clear. By the way, when exactly is _exportable_impl() called (or when is the exportable property accessed)? Would it also be an option to log a warning message right at the place where it is created? (this is probably what I would have done in the first place) Or is the generated message string used for something else as well? Or is "exportable" already accessed somewhen before the user actually ignored the declaration? (so that the message should not be printed) - Matthias - |