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
- Gemini 2.0 Flash: An outstanding multi-modal LLM with a sci-fi streaming mode - 11th December 2024
- ChatGPT Canvas can make API requests now, but it's complicated - 10th December 2024
- I can now run a GPT-4 class model on my laptop - 9th December 2024