Re: [pygccxml-development] improving user experience
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-07-21 10:00:57
|
Roman Yakovenko wrote: > I am sorry for introducing such stupid bug. I think I fixed it. I > added unittest. > Sorry. Can you check the behaviuor now? The warnings are back and now I seem to get all of them. I have a slight suggestion for an improvement though, in creator.py line 158 the message is prepared like this: msg = [ 'Declaration "%s" could not be exported.' % full_name ] That is, the message only contains the name of the declaration (which is not unique) and sometimes it seems pyplusplus would output several identical messages (which actually refer to different versions of overloaded methods but as only the name is printed this is not visible). So could we just change this to: msg = [ 'Declaration "%s" could not be exported.' % decl ] All the declarations already have a suitable __str__() method that creates the full signature, so the above makes it much easier to exactly identify the actual declaration. - Matthias - |