On 31 August 2012 18:53, Sylvain Thénault <sylvain.thena...@logilab.fr> wrote:
> I would have expected the message string to rather replace the message, > similarly as e.g. lintian: This style, with the message and also the id, is like what clang does <http://clang.llvm.org/docs/UsersManual.html#diagnostics>, like RootViewController.m:50:9: warning: unused variable 'a' [-Wunused-variable] I want to eventually turn it on in a build file used by many people and if the messages people are used to suddenly go away it may be confusing, whereas if it just gets more information they can learn how to control that message. The symbols have to be biased more towards concision than comprehensibility. Lintian is coming from a different place because the real 'message' has always been a symbol (I think) and the freeform text is just an explanation of it. I think having the line number at the start is better (more likely to easily be understood by editors) but again that's a bit disruptive to change now. Of course once the basic concept is there we can add more reporters or options. I can certainly see how machines would rather see just the ids, but for upgrading users I don't think it's a good default. -- Martin _______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects