My name is Paul Bissex, and e-scribe.com is my consulting business. I build web applications using as much open source software as possible. From September to June I teach web design and other important non-photographic professional skills to photographers. In the '90s I wrote technology commentary and reviews for magazines, newspapers, and web publications, including Wired, Salon.com, FamilyPC, the late lamented Web Review, and the Chicago Tribune. Feel free to email me.
I'm co-authoring a book, "Python Web Development with Django", with Jeff Forcier and Wesley Chun. It will be published by Prentice Hall in July 2008, but is available for pre-ordering on Amazon now.
This site is built on a fresh trunk checkout of Django, running on Python 2.5.1, served by Apache and mod_python. The database is SQLite. The operating system is FreeBSD, on a VPS hosted at Johncompanies.com. Comment-spam protection by Akismet. Vintage topo imagery from the Maptech archive.
Akismet, del.icio.us, Django, dpaste.com, Emacs, FreeBSD, Freenode, jQuery, LaunchBar, MacPorts, Markdown, Mercurial, OS X, Postfix, Python, SQLite, Subversion, TextMate, Trac, Ubuntu Linux, wmii
Copyright 2008
by Paul Bissex
and E-Scribe New Media
Belatedly, here are my notes from Guido van Rossum's "State of the Python Union" talk this past Wednesday.
Guido discusses (with illustrations) his recent eye problems.
SD Magazine/Jolt Productiviity Award given to Python 2.4. O'Reilly Python book sales are up. Unscientifically extracted Sourceforge stats: about 4000 python projects.
Discussion of PEP 342 and PEP 343 broke records on python-dev ("What about decorators?" somebody asks. "I think this was worse," Guido says.)
PEP 342: Generator enhancements. Can we make yield do some of the things that it does in Ruby? Yield becomes an expression instead of a statement.
PEP 343: The "with" statement. Sort of syntactic sugar on try-finally. He abandoned his hope of a Pascal-style "with" thanks to finding a web posting from the C# team on why that wasn't a good idea.
"Hopeful PEPs": 3000, 344, 341. Seemed more mixed on 315, 246, 245.
Exception reform. Possible new exception hierarchy. Basic idea is to prevent a bare "except:" from catching critical things like SystemExit, MemoryError, and KeyboardInterrupt -- in general, you want these things to kill your app. Showed detailed chart of proposed new hierarchy, less radical than earlier proposals.
Python 3.0 will be throwing out classic classes, string exceptions, etc. Before it arrives, many of its additions will appear in 2.5+, some by default, some via future. There will be a period of parallel development in 2.x and 3.x.
Python 3.0 will not be a rewrite of the interpreter.
Library restructuring needs a champion! Any volunteers?
Most controversial thing that might or might not make it in to Python 3.0: Optional type declarations. Could help with documentation, IDEs, PyChecker.
def f(x: str, y: list[int], z: file|None = None)->bool:
It's intentionally Pascal-like, he says. Pascal the first language that made him aware of choices in language design.
My notes end here. Feel free to post comments filling in any critical gaps.
Update: Powerpoint slides from the talk are now available at python.org.
Comments use Markdown syntax. Your comment will not appear until approved, which may take a few hours or more. Spammers will be torpedoed.
The iPhone keyboard doesn't suck
Python one-liner of the day
7 comments
How not to advocate via Google Code
2 comments
99 problems
3 comments
bitmonk
Obscure "svn mv" problem solved
33 days ago
Charlie
Book news: Rough Cuts and Amazon
34 days ago
Simon Griffee
Django Mercurial mirror tweaks
51 days ago
Jason Calleiro
From PHP to Python
52 days ago
Yuli
dpaste.com
55 days ago
bruce
Neat Python hack: infix operators
59 days ago
David Reynolds
The original Lego Star Wars
67 days ago
At least 29896 pieces of comment spam killed since January 12th. Thanks are mostly due to Akismet.