We agreed on another implementation idea on the bug report, but I’m
going to reply to two points here.
> I'm currently trying to write a patch to implement an enhancement to
> disutils2 (I created an issue for it here -http://bugs.python.org/issue12242);
> and I'm currently stymied by my lack of knowledge about distutils2's
> architecture. I didn't want to clutter the issue tracker with questions, and
> this seemed the most appropriate place to ask. (If there's another venue
> where I should post this, my apologies in advance).
Asking on the tracker is okay; this list is okay too.
> I got stumped at that point, because it looks like the information I need is
> the value of *"build_ext.compiler"*, and command instances aren't created
> until much later (assuming the command is even invoked at all).
Every command object can get another command object (with options set,
but without running it) with self.get_finalized_command.
Regards