February 16, 2004
What's new in Python 2.4
What's New in Python 2.4.
What about Generator Expressions? I hope that they are in there!
The new keyword arguments on lists'
sort() method are also really nice, simplifying the DSU idiom. (Or is that a texture?)
Via Daily Python-URL.
Posted to Python by Simon Brunning at February 16, 2004 12:50 PM
I just wonder why pypeople doesn't call it 'shwartzian transform' like everyone else :-)
(if you're going to say "it's more clear".. no, it's not)
Anyway 2.4 seems interesting..
Back when DSU was becoming popular, it was noted on c.l.py that this idiom was known as a "Schwartzian transform" in (at least) the Perl community. But then some random perl-head taking a visit from c.l.p insisted that the Python style DSU was in some important respect *different* from a Schwartzian transform.
Nobody really understood why, but it was enough to make the term DSU stick. And now the term is "frozen" into the hardcopy version of The Python Cookbook, so DSU it will remain.