Dr. Dobb's Python-URL! - weekly Python news and links (Aug 9)
python-url at phaseit.net
Mon Aug 9 15:08:08 CEST 2004
QOTW: "That's a healthy relationship with a language, I feel, when the
language and me are struggling with the same problems." - Harald Massa
"Fight the trend to add silly disclaimers everywhere!" - GvR
Tim Peters helps Kenneth McDonnald over the hurdle of initializing
subclasses of an immutable type like str.
Jeff Epler digs into the C Source to find out why overriding file.write()
has no effect on the print statement.
You could assure Zeljko Vrba, the "Perl expert wanting to learn Python",
that he has already made the hardest step in the new direction.
"@ looks like a friendly little womb, with a happy little birth canal,
out of which is born a single pure expression" - Tim Peters
The appearance of decorators - a mechanism for wrapping functions and
adding attributes to them - in the second alpha of Python 2.4 stirs
a heated discussion.
Many do not like the introduction of a new symbol, "@" aka "pie", for
decoration, or see the chosen one as too "visually dense" (obtrusive)
- or just plain ugly. Barry Warsaw weighs alternative symbols.
Christopher T. King argues that the new feature is trying to be all things
to all people.
Steven Bethard explores the option space, i. e. all aspects of
decorator syntax that can be chosen independently.
Of course the discussion has been going on among Python's developers
for a while and the PEP maintainers who where left behind at some point
are struggling hard to update it to the current state of affairs.
I cannot close this section without at least one use-case, so have a
look at Michele Simionato's multimethod enhancement, building on code by
Howard Stearns and - decorators.
(Now be prepared for a more down-to-earth Python-URL next week)
Let's go back to the "other" pie. Even the most peaceful Pythoneer
will ponder "pie-decorating" the author of this short pie-thon
report. It's fun, though.
Everything Python-related you want is probably one or two clicks away in
Python.org's Python Language Website is the traditional
center of Pythonia
Notice especially the master FAQ
PythonWare complements the digest you're reading with the
marvelous daily python url
Mygale is a news-gathering webcrawler that specializes in (new)
World-Wide Web articles related to Python.
While cosmetically similar, Mygale and the Daily Python-URL
are utterly different in their technologies and generally in
comp.lang.python.announce announces new Python software. Be
sure to scan this newsgroup weekly.
Brett Cannon continues the marvelous tradition established by
Andrew Kuchling and Michael Hudson of intelligently summarizing
action on the python-dev mailing list once every other week.
The Python Package Index catalogues packages.
The somewhat older Vaults of Parnassus ambitiously collects references
to all sorts of Python resources.
Much of Python's real work takes place on Special-Interest Group
The Python Business Forum "further[s] the interests of companies
that base their business on ... Python."
The Python Software Foundation (PSF) has replaced the Python
Consortium as an independent nexus of activity. It has official
responsibility for Python's development and maintenance.
Among the ways you can support PSF is with a donation.
Cetus collects Python hyperlinks.
The Cookbook is a collaborative effort to capture useful and
Among several Python-oriented RSS/RDF feeds available are
For more, see
The old Python "To-Do List" now lives principally in a
The online Python Journal is posted at pythonjournal.cognizor.com.
editor at pythonjournal.com and editor at pythonjournal.cognizor.com
welcome submission of material that helps people's understanding
of Python use, and offer Web presentation of your work.
*Py: the Journal of the Python Language*
Archive probing tricks of the trade:
Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
Suggestions/corrections for next week's posting are always welcome.
E-mail to <Python-URL at phaseit.net> should get through.
To receive a new issue of this posting in e-mail each Monday morning
(approximately), ask <claird at phaseit.net> to subscribe. Mention
-- The Python-URL! Team--
Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Python-URL!" project.
More information about the Python-list