Re: [Python-projects] Pylint 3k coming soon !

2010-10-18 Thread Tshepang Lekhonkhobe
On Thu, Oct 14, 2010 at 18:09, Emile Anclin wrote: > > Hello everybody, > > Pylint 3k is coming soon ! Rocks! Sorry for not helping out. Was (and still) distracted, and my stopping development of a Py3k project didn't help either. -- blog: http://tshepang.tumblr.com ___

Re: [Python-projects] pylint: Two false positives (W0612 and E1101) with function attributes

2010-10-18 Thread Emile Anclin
hello, On Monday 18 October 2010 14:47:43 James Lingard wrote: > The following file: > > def f(): >pass > f.attr = 123 > print f.attr > > produces the following errors from pylint 0.20.0: > > W0612: 3: Unused variable 'attr' > E1101: 4: Function 'f' has no 'attr' member > > I can understan

[Python-projects] pylint: Two false positives (W0612 and E1101) with function attributes

2010-10-18 Thread James Lingard
The following file: def f(): pass f.attr = 123 print f.attr produces the following errors from pylint 0.20.0: W0612: 3: Unused variable 'attr' E1101: 4: Function 'f' has no 'attr' member I can understand the E1101, since it might be a reasonable simplification to assume that a function obj