Please, define "all versions" and "most trivial code".
I have very little problems with Pythons ranging from the ancient 2.4 to modern 2.7. Of course, I am careful with what I do. I know if I use a dictionary comprehension I will be limited to 2.7+, so I try not to. I am quite sure a lot of the code I write could run under any 2.x Python with little modification. As for 1.x, I will agree that things get more complicated.
Generators is 2.6+, right?
BTW, an ugly approach I used (more or less as a joke) was to check for generator availability and, in case I can't use them, use a list comprehension instead. There is a performance/memory hit but, depending on what you are doing, it's a usable alternative. And a nice place to hang humorous comments.
But I agree that, if your users don't want to install an alien (from the package manager POV) Python in order to run Mongrel, getting rid of python code is the right thing to do.
It's like having a weird dependency, kind of requiring a Fortran 77 compiler in order to run Perl...
http://docs.python.org/release/2.2/ref/yield.html
Generator expressions are 2.4+:
http://docs.python.org/release/2.4/ref/genexpr.html
That said, I don't disagree with removing the Python dependency from the "core" of Mongrel2. As was noted in an earlier comment, people can always write a config file management tool in any language they want (or Mongrel2 bindings in general, for that matter).
Disclaimer: I love Python, but I hate that anything but the most trivial code won't run across all versions.