Dr. Dobb's Python-URL! - weekly Python news and links (Mar 27)
python-url at phaseit.net
Mon Mar 27 20:20:47 CEST 2006
QOTW: "Testing real examples in doctstrings, or external documentation like
tutorials, is important because it's very frustrating for people reading
the docs if the examples don't work as advertised." - Marc Rintsch
"If you don't document what the sundry variables are FOR, you're really
not documenting your code at all -- just listing the names of some
attributes is far too weak." - Alex Martelli
If unittest is the standard way to write testing code, why do we
still have doctest? Because serious testers use both.
Coincidentally, Terry Hancock dedicates a large portion of his
report from PyCON 2006 to the power and simplicity of doctest.
Do you have any recipes that you find indispensable in your daily
work but that are not obvious to a beginner? Contribute them to
When using eval() is too dangerous you may still be able to
facilitate Python's parsing infrastructure as Michael Spencer shows:
Want to squeeze your precious unicode data into ASCII strings?
FLundh's solution builds on character decomposition and
unicode.translate()'s ability to replace one character with many.
Andrew Dalke explores the performance implications of various
approaches to class instantiation and has collected a few quotes
on the __slots__ feature.
Andrew Clover has derived nice Windows Icons from the new Python logo.
The mythical Python 3000 is mythical no more as you can watch it
evolve on its own mailing list. Rumour has it that there is also
a branch in subversion, only slighly obfuscated by its name.
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
For far, FAR more Python reading than any one mind should
absorb, much of it quite interesting, several pages index
much of the universe of Pybloggers.
comp.lang.python.announce announces new Python software. Be
sure to scan this newsgroup weekly.
Steve Bethard, Tim Lesher, and Tony Meyer continue the marvelous
tradition early borne by Andrew Kuchling, Michael Hudson and Brett
Cannon 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
Python Success Stories--from air-traffic control to on-line
match-making--can inspire you or decision-makers to whom you're
subject with a vision of what the language makes practical.
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.
Kurt B. Kaiser publishes a weekly report on faults and patches.
Although unmaintained since 2002, the Cetus collection of Python
hyperlinks retains a few gems.
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.
del.icio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Python intelligence.
*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:
http://www.ddj.com/topic/python/ (requires subscription)
There is *not* an RSS for "Python-URL!"--at least not yet. Arguments
for and against are occasionally entertained.
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-announce-list