<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 12, 2009, at 12:02 AM, David Cournapeau wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Glyph Lefkowitz wrote:<br><blockquote type="cite">There are probably a dozen other ways that you *could* work on distutils and benefit more immediately from your efforts than the next Python release. &nbsp;To think otherwise is a simply a failure of imagination. &nbsp;Now, if you think it's *too hard* to do that, it might be interesting to hear why you think that, and what exactly the effort would be; a nebulous assertion that it's just too hard and we should throw our hands up (while I can definitely understand the impulse to make such an assertion) serves only to discourage everyone.</blockquote><br>I am trying to understand what is 'nebulous' about our claims. We have<br>given plenty of hard and concrete examples of things which are<br>problematic in distutils.</div></blockquote><div><br></div><div>I'm sorry if I gave the impression that I was contesting that particular assertion. &nbsp;We all agree that distutils has deep problems.</div><div><br></div><div>And, I don't think that everything that has been said is overgeneral or unhelpful. &nbsp;Before I dive into more criticism, let me just say that I agree 100% with Robert Kern's message where he says:</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">In order to integrate this with setuptools' develop command (...) we need to create a subclass of setuptool's develop command that will reinitialize build_src with the appropriate option. Then we need to conditionally place the develop command into the set of command classes so as not to introduce a setuptools dependency on those people who don't want to use it.<br></span></blockquote><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">This is nuts.</span></blockquote><br></div><div>This is completely correct. &nbsp;I've done stuff like this, we've all probably done stuff like this. &nbsp;Conditional monkeypatching and dynamic subclassing is all over the place in distutils extension code, and it is *completely* nuts.</div><div><br></div><div>Still, it would have been more helpful to point out how exactly this problem could be solved, and to present (for example) a description of similar objects politely interacting and delegating responsibility to one another to accomplish the same task.</div><div><br></div><div>I would definitely characterize these assertion from Robert as "nebulous", given that the prior messages in the thread (as far as I can tell) do not describe the kind of massive-overhaul changes which would fix things, only the problems that currently exist:</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">In our considered opinion, piecemeal changes probably aren't going to solve the significant problems that we face.</span></blockquote><br></div><div>Why not? &nbsp;The whole of computer history is the story of piecemeal improvements of one kind or another; despite perennial claims that, for example, hierarchical filesystems or bit-mapped displays "fundamentally" cannot support one type of data or another, here we are.</div><div><br></div><div>Or this one, also from Robert:</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">Mostly because I'm entirely uninterested in helping you make incremental improvements that are going to break all the hard work we've already done just to get things working as it is.<br></span></blockquote></div><div><br></div><div>Why do incremental improvements have to break all the hard work that has already been done? &nbsp;Surely this is what a compatibility policy is about.</div><div><br></div><div>Or this one, from you, which is more specific to a topic, but still doesn't really say anything useful that I can discern:</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">I think the compiler class and the likes should simply be removed ... There should not be any objects / classes for compilers, it is not flexible enough ... You cannot obtain this with classes and objects (especially when you&nbsp;start talking about performance: ...).</span></blockquote></div><div><br></div><div>It's clear to me from the responses in this thread that I'm not the only one who is only getting vague hints of what you're actually talking about from language like this.</div><div><br></div><div>"classes and objects" have been used in many high-performance systems. &nbsp;Personally I find "classes and objects" fairly flexible as well. &nbsp;In fact, if *I* were to make a nebulous claim about distutils' design structure, it would be that the parsimony with creating whole new classes and instantiating multiple objects is the problem; there should be more classes, more objects, less inheritance and fewer methods. &nbsp;So why can't&nbsp;</div><div><br></div><blockquote type="cite"><div>The major progress in our build issues have<br>been achieved by dropping distutils. Up to now, the only people who have<br>claimed that distutils can solve our problems are the people who are not<br>involved at all with our projects, and the people who claim distutils<br>cannot solve our problems are the people involved with it. That's odd to<br>say the least.<br></div></blockquote><div><br></div><div>I'm not asserting that distutils can fix your problems; I don't know enough about your problems to say for sure. &nbsp;Certainly it seems clear that present-day distutils cannot. &nbsp;I just know that there are many people on this list who are committed to a particular approach to evolving distutils, and while there is a lot of value in clearly explaining problems with that approach so they can be addressed, it's unhelpful to keep asserting (as has been done many times in this thread) that incremental evolution cannot address these problems. &nbsp;It's a religious belief either way: my experience suggests that rewrites are never, ever a good idea, but others' experience may differ.</div><div><br></div><div>However, I feel compelled to repeat that it is a matter of historical fact and, I suspect, a corollary of the Church-Turing thesis that pretty much any software system *can* be changed into just about any other software system through a series of evolutionary steps where the system does something useful at each step; it is a question of whether you believe this approach requires an unreasonable amount of effort, and how big the steps need to be. &nbsp;If you believe the effort required would be unreasonable, then let's see if we can find a radical, incompatible change to distutils that we all agree would be an improvement, and see if we also agree that the effort would be impractical. &nbsp;Right now I can't find any such change looking through the recent history of this discussion, just a smattering of half-expressed ideas about how certain things in distutils are crummy and should look totally different than they are.</div><div><br></div></div></body></html>