Jeremy Hylton :
||last modified Thu Mar 17 01:11:16 2005
Python Standard Library
Andrew Kuchling argues that we should stop hacking on the Python interpreter and starting improving the standard library. It's exactly the opposite of the argument that Mitch Kapor made in his PyCon keynote: security, performance, developer tools.
I'm sympathetic to Andrew's line of reasoning. In the spirit of worse is better, I've often said that Python isn't faster because it's users are better served by other things, like better libraries or fewer interpreter crashes or better language features. The resources available for developing Python are quite limited and security and performance take a lot of effort.
There is little question that parts of the standard library need improvement; cgi comes to mind first as a module that should be rewritten from scratch. I had hoped that the Web SIG would improve web programming in Python , but it is making headway in only a narrowly focused area.
What else needs work? We need better XML tools that what we find in the standard library. There are good ideas and interfaces in ElementTree and xmltramp -- and even more interesting work in languages like Comega.
I don't agree that we need to retarget Python development, though. There has always been a healthy mix of work on libraries and work on the core language. Python 2.4 has library improvements: new decimal arithmetic, improved doctest, new email package. Python 2.3 had even more: sets, itertools, logging, new pickle protocol, csv files, and BerkeleyDB support.
Morever, Python developers choose what they want to do. There are certainly bugs to fix and patches to review, but new libraries and substantial revisions are usually the result of one or a few people who want to do it.
Andrew posted a list of six issues that ought to be resolved.
Lightweight Languages 2004 (LL4)
The 4th annual Lightweight Languages Workshop will be held at MIT on Saturday, Dec. 4 -- in the shiny new Stata Center. Presentation proposals are due on Nov. 12.
The workshop attracts a good variety of people and languages, which probably reflects the diverse and engaging mix of programmers in the Boston area. (Well, there are a lot of Lisp and Scheme programmers, but it's a diverse group nonetheless.)
Political Advocacy Call
We got a pre-recorded call this afternoon from Patrick Murphy, a veteran endorsing John Kerry.
We've enjoyed living in a swing state this election season. I'm originally from Pennsylvania, but lived and voted in Maryland for the last two presidential elections. Maryland is solidly democratic, so there's never been much urgency to voting. Baltimore was so overwhelmingly Democratic that all the action was in the primary. I recall one Republican candidate for mayor who explained that he was helping the local economy by forcing his opponent to spend money on advertising -- not much of a stump speech.
In early September, we want to a Kerry rally at the Allentown Fairgrounds. It was exciting to see so many people turn out for a rally. The Morning Call reported that more than 13,000 people attended. It was the biggest rally in the Lehigh Valley since Nixon campaigned here.
The phone call today was relatively uninteresting. Murphy identified himself as a veteran and former West Point instructor and said some generic things about the importance of the election before endorsing Kerry. I've already decided to vote for Kerry and I'm not going to be swayed by phone calls. I'm just hoping I get some slanderous calls from the Bush campaign -- maybe something like the smear campaign he ran against McCain in South Carolina in 2000.