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" clause of a comprehension
> depends on class-scope variables.  So, if setuptools is the only one
> of my libraries that does this, I'd have to agree with Guido that it
> is indeed quite rare.  :)
>
> If I had to hazard a guess, I'd guess that it's in one of the
> setuptools command classes that subclasses a distutils command, and
> proceeds to muck around with the original options in some fashion.  I
> just don't want to check all of them if you know which one it is.  :)

Yep, it's in setuptools.command.install, lines 20-23 (setuptools v0.6c6).

Collin Winter
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to