Python2.4 highlights
21st September 2004
A.M. Kuchling’s “What’s New in Python X” documents are always a treat, and his guide to the forthcoming Python 2.4 is no exception. Among other things, 2.4 elevates sets to built in type status, dramatically improves the usability of Python’s list sort method (for easier application of DSU, aka the Schwartzian transform), makes reverse iteration easier and introduces an alternative string substitution method.
All that’s before you get on to the really exciting stuff: generator expressions, the new decimal type (because floating point numbers are such a nuisance) and the controversial function decorators.
I have to admit I didn’t understand the significance of half of this stuff until I read about them in “What’s New”, which explains the use-cases for the new features with great clarity.
Python seems to advance at just the right rate; new features are introduced fast enough to keep me interested (and keep the language feeling alive) but not so fast as to leave me feeling left behind.
More recent articles
- OpenAI DevDay: Let’s build developer tools, not digital God - 2nd October 2024
- OpenAI DevDay 2024 live blog - 1st October 2024
- Weeknotes: Three podcasts, two trips and a new plugin system - 30th September 2024