On Mon, Apr 08, 2002, Barry A. Warsaw wrote:
A> Hrm. But until it's no longer a separate package, why use A> 2.2-specific features in the builtin package?
Because it's convenient, and the semantics are subtly different (and IMO suboptimal) without them. E.g. the builtin version uses a generator in a few places, while the standalone version uses an iterator. The generator version is much more intuitive, but to write cross-version code that uses that interface you need to do something like call list() on a return value.
Well, sure. But you have to do that suboptimal stuff anyway in order to maintain the separate package. How is the overall development
Aahz (firstname.lastname@example.org) <*> http://www.pythoncraft.com/
"There are times when effort is important and necessary, but this should not be taken as any kind of moral imperative." --jdecker