from
Nicolas Chauvat <nicolas.chauvat at logilab dot fr>
to
Sylvain Thenault <syt at logilab dot fr>
subject
Re: [Python-projects] Unauthorized construction
date
On Fri, Jul 25, 2003 at 11:36:48AM +0200, Sylvain Thénault wrote:2003/07/25 11:37
> On Friday 25 July à 09:06, Sylvain Thénault wrote:
> > On Thursday 24 July à 23:48, Roger Binns wrote:
> > > > > I am very glad that pylint checks for unauthorized constructions
> > > > > and it finds a generous number throughout my code. Unfortunately
> > > > > nowhere does it say what an unauthorized construction actually
> > > > > is and I have not got the faintest clue.
> > > >
> > > > yes, that's because unauthorized construction are detected using a
> > > > customizable regexp and I don't know any way to get the regexp string
> > > > from the compiled regexp. And even if a way exists, the regexp would not
> > > > be very readable. I'll document the default regexp in pylint --help.
> > >
> > > Err, you still haven't actually said what an unauthorised construction
> > > is. The only meaning I know of is where you are building something
> > > you aren't allowed to, like a house or office. Not particularly
> > > relevant to software ...
> >
> > For the moment, unauthorized constructs are :
> > - operators not preceded and followed by a white space
> > - comma not followed by a white space
> > - colon followed by a new line
> ^^^
> not
je suis même pour interdire les ; !
--
Nicolas Chauvat
http://www.logilab.com - "Mais où est donc Ornicar ?" - LOGILAB, Paris (France)
