Dr. Dobb's Python-URL! - weekly Python news and links (Jun 3)
kragen at pobox.com
Mon Jun 3 19:40:08 CEST 2002
QOTW: "Imagine two painters. One spends half his time at arts supplies
stores, checking out the tiniest differences between different models of
brushes, different brands of paint, canvases prepared with minutely
distinct processes yielding minute roughness and absorption differences,
and so on. The other painter has settled on good, reliable lines of
brushes, paint and canvases, had put these minutiae basically out of her
mind, and spends her time and energy actually painting, working out
different lighting and composition techniques, and so on." Alex
Martelli, on the perfectibility of computer languages
Pycaml, which interfaces Python to OCaml, a higher-level
alternative to C for speed-critical code, released version 0.8 on
Twisted, a framework for networked applications that includes
implementations of a large number of common protocols as well as a
remote object protocol with bindings in Python, Java, and elisp,
released version 0.18.0 on 2002-06-01.
Pygame, a Python binding to the popular SDL games-programming
library, released version 1.5 on 2002-05-30.
Sheila King posted some "liberal" email parsing code that handles
malformed mail headers better than the current standard email
module, which doesn't parse Klez emails (among others) very well.
Russell Owen posted a GenericCallback class that curries callback
functions to ease GUI programming.
PySQLite, a Python wrapper for the SQLite embedded RDBMS, released
version 0.2.0 on 2002-06-02.
libxml, the GNOME XML library, released version 2.4.22 on
PdfSearch, a search engine for archives of PDF files with
command-line and GUI interfaces, released version 0.1 on
* Discussion on Features of Python:
Jython doesn't run finalizers promptly (or, sometimes, at all),
with the result that open('foo.txt', 'w').write(something) may
never write anything to foo.txt. Some think relying on CPython's
prompt finalization is a bug, but Francois Pinard explained why he
thinks it's Jython's behavior that's the bug.
There was some discussion of 'for any' and 'for every' boolean
expressions similar to list comprehensions; Tim Peters pointed out
that ABC had them and they were nice.
Grant Griffin explained why the implicit string concatenation done
by the Python parser is un-Pythonic.
Aahz advocated using the Queue module for any and all inter-thread
communication; Mark Hammond thought that position too extreme.
Berthold Höllmann complained that distutils breaks
platform-independence of scripts when Python executables are
installed in platform-specific directories.
* Problems and Solutions:
Tim Churches recommended RPy for easy visualization of large
arrays of numbers, such as Numeric arrays.
Andrei Kulakov praised the startup speed of pygtk applications in
a thread about wxPython startup speed; several other posters on
the thread had switched from wxPython to pygtk or even Tkinter to
get better performance.
Carsten Gaebler noticed that popen would cause your Python program
to hang forever on exit if you forgot to specify 'w'. Donn Cave
There's also a problem with Python's SIGPIPE handling and
popen()ed programs that don't exit on their own --- they don't
Someone had trouble getting McMillan Installer to work on a
program that used Gadfly; Gordon McMillan thought it was because
of a particular unusual technique Gadfly used to load its grammar,
but Richard Jones said it no longer used that technique.
Steindl Fritz wanted a variadic Cartesian product function; his
problem got many solutions, the tersest of which was Steven
"gb", from UNC-CH, posted their Python-code-folding setup for
Syver Enstad has a hack to allow HTML links in pydoc output to
open your preferred editor with the right source file, but only on
Emile van Sebille and Tim Delaney posted references to good online
search pages for the Python documentation.
EuroPython early-bird registration has been extended until
2002-06-09 because of a rush of last-minute early-bird
registrations and Internet problems.
The EuroPython web site published an interview with Paul
F. Dubois, the primary maintainer of NumPy.
David Mertz has reviewed more Python books.
Michal Wallace posted a reference to some code-duplication-finding
software he'd written; Tim Peters posted a link to some research
on the subject and mentioned he wished there was a fast
suffix-tree extension module for Python.
It turns out that Danny Yoo has written a suffix-tree extension
module for Python.
Quinn Dunkan extolled the merits of customized development
environments when Oren Tirosh claimed not to have a personal
PEP 272, the API for block encryption algorithms, has been
There is now a page on python.org about Python-friendly hosting
Everything you want is probably one or two clicks away in these pages:
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.
Michael Hudson continued Andrew Kuchling's marvelous tradition
of summarizing action on the python-dev mailing list once every
other week, into July 2001. Any volunteers to re-start this
The Vaults of Parnassus ambitiously collect Python resources
Much of Python's real work takes place on Special-Interest Group
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*
Links2Go is a new semi-automated link collection; it's impressive
what AI can generate
Tenth International Python Conference
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.
[http://www.egroups.com/list/python-url-leads/ is hibernating. Just
e-mail us ideas directly.]
To receive a new issue of this posting in e-mail each Monday morning
(approximately), ask <claird at neosoft.com> 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.
Cameron Laird <Cameron at Lairds.com>
More information about the Python-list