[python-uk] TDD stuff in London, next two weeks (and list comprehension scoping)

2014-05-30 Thread Harry Percival
Hi Uk-Pythoneers! *(with apologies to the wise ones amongst us who have chosen to live well away from the Big Smoke)* I'm involved in a couple of Python/TDD things in the next couple of weeks, both free to attend: Outside-In TDD and Test Isolation: https://skillsmatter.com/meetups/6410-outside-

Re: [python-uk] TDD stuff in London, next two weeks (and list comprehension scoping)

2014-05-30 Thread Harry Percival
I had the problem outside of a class body, in a normal function... (of course I can't build a minimal repro now. working on it.) On 30 May 2014 15:37, Tim Diggins wrote: > Harry > *//excursus on the moan * > The problem with seems to be with scopes vs namespace differentiation > rather than

Re: [python-uk] TDD stuff in London, next two weeks (and list comprehension scoping)

2014-05-30 Thread Tim Diggins
Harry *//excursus on the moan * The problem with seems to be with scopes vs namespace differentiation rather than comprehensions (though I haven't *actually* tried this in python 3). So this problem only should occur in class bodies. And doing heavy lifting stuff like comprehensions in a class bod

Re: [python-uk] TDD stuff in London, next two weeks (and list comprehension scoping)

2014-05-30 Thread Harry Percival
ah. I think i figured it out -- it's actually just a weird py.test thing. something to do with its assert-introspection-voodoo... On 30 May 2014 16:16, Roger Gammans wrote: > On Fri, 2014-05-30 at 16:07 +0100, Sven Marnach wrote: > > On 30 May 2014 15:49, Harry Percival wrote: > > I h