On Saturday 09 October 2010 22:10:07 Daniel Harding wrote:
> Emile Anclin wrote:
> > On Friday 01 October 2010 20:15:32 Daniel Harding wrote:
> >> Currently if pylint is run under Python 2.7 to check a file
> >> containing dictionary comprehensions or set comprehensions, it
> >> results in an exce
Daniel Harding wrote:
Thanks for taking my changes so quickly! However, I realized today that
they weren't completely correct. Dict comprehensions and set
comprehensions should create their own scope, just like generator
expressions. I didn't account for this in my changes, so I have
attached
On 11 octobre 09:59, Stefan Parviainen wrote:
> Hi all,
Hi,
> I have a situation where in a module I have a function that creates classes
> like this (obviously the real deal is more complicated than this)
>
> def foo_maker(x):
> class _Foo:
> def bar(self): print x
> return _Foo
>
>