Re: [Python-3000] Change to class construction?

2007-07-08 Thread Collin Winter
On 7/7/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > Collin, where did you find this code in setuptools, btw? I've been > looking around at other packages of mine where static class > initialization uses data structures like this, and I haven't found > any place where anything but the "in" claus

Re: [Python-3000] Change to class construction?

2007-07-08 Thread Brian Harring
On Sat, Jul 07, 2007 at 01:08:15PM -0400, Terry Reedy wrote: > > "Nick Coghlan" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > | Georg is correct. A list comprehension like: > | > | [(x * y) for x in seq1 for y in seq2] > | > | expands to the following in 2.x (% prefixes the comp

Re: [Python-3000] Change to class construction?

2007-07-08 Thread Phillip J. Eby
At 11:55 AM 7/8/2007 +0300, Collin Winter wrote: >On 7/7/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: >>Collin, where did you find this code in setuptools, btw? I've been >>looking around at other packages of mine where static class >>initialization uses data structures like this, and I haven't f