Dr. Dobb's Python-URL! - weekly Python news and links (Oct 2)
python-url at phaseit.net
Thu Oct 2 14:24:50 CEST 2003
QOTW: "the DOM API is designed for consultants, not for humans or
computers" -- Fredrik Lundh giving solace to a confused DOM API user
QOTW: "Python enjoys making tradeoffs that drive *someone* crazy
<wink>" -- Michael Hudson's signature line attributed to Tim Peters
Alex Martelli shows the classic example for the "for-else"
Peter Hansen presents a simple solution to intercepting outgoing
SMTP traffic like some anti-virus programs do:
Descriptors puzzle Denis S. Otkidach; at first, Michael Hudson judges
his example a bug; then, Alex provides an external link to a clear
explanation; then Michael concludes all is in order and finds out that
the answer was already in the official docs. Moral: the new docs are
more complete than ever.
Alex Martelli demonstrates the basics of extending a class and
answers related questions about local variable scope and encapsulation:
Oren Tirosh neatly solves the problem of validating keyword argument
Shu-Hsien Sheu innocently asks when try/except is preferred to
if/then. The ensuing conversation nicely covers the most common
use cases, good program design, and Python's unique approach to
Raymond Hettinger (yours truly) invites comments on PEP-322, reverse
Stephen Horne initiates threads discussing PEP-284 (integer for-loops)
and PEP-315 (Enhanced while loops):
Skip Montanaro's concept glossary was built by the community through
a wiki and then added to the tutorial. See the results at:
This week's language change suggestions:
* adding an iterreverse() method to list, tuples, xrange, and strings
Python 2.3.2c1 - release candidate for Python 2.3.2. Expect the
final release this week at:
ZODB 3.2b2 - last new work and bugfixes before the ZODB 3.2 final
wxPyPlot 1.2 -an enhanced derivative of wxPlotCanvas for lightweight
plotting in wxPython:
DocIndexer 0.5.1.1 - toolkit (written in Python) for indexing and
searching document directories:
IbPy 0.2 - third-party implementation of the API used for accessing
the Interactive Brokers on-line trading system:
SciParam 1.0.1 - Python package to easily add additional quality
control for entering scientific parameters in wxPython-based user
pylint 0.2 - source code checker for Python code:
texd 0.4 - daemon form of PyTeX, a tool script generated
typesetting use TeX:
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
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 newly-revitalized newsgroup at least weekly.
Brett Cannon continues the marvelous tradition established by
Andrew Kuchling and Michael Hudson of 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 has replaced the Python Consortium
as an independent nexus of activity
Cetus does much of the same
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