Python-URL! - Weekly Python News and Links (May 22)
May 23, 2002, 03:00 (0 Talkback[s])
How to Help Your Business Become an AI Early Adopter
QOTW: "More details on what you want will naturally increase the
quality of the answers you receive." Geoff Gerrietts (and many others)
PyKDE, PyQt, and SIP --- the Python bindings to KDE and Qt and the
tool used to build them --- released version 3.2.4 on 2002-05-18.
This is the first version to support KDE 3.
The Python Spread module, a Python interface to the Spread
toolkit, which provides a high-performance fault-tolerant
distributed message service with both unicast and multicast
primitives, released version 1.2 on 2002-05-17.
Pyro, a distributed object system with RPC, mobile objects
(including mobile code), naming, events, and automatic
reconnection, released version 2.8 on 2002-05-17.
FXPy, the Python binding to the FOX GUI toolkit, released version
1.0.5 on 2002-05-16:
PycURL, a Python interface to the cURL URL-fetching library,
released version 7.9.7 on 2002-05-20:
NodeNet, a Python library for networks of connected nodes with GUI
support, has released 1.0beta1:
DeveloperWorks has a couple of articles on Python --- "wxHTML for
Beginners" and "Parsing With the SimpleParse Module":
Fredrik Lundh explains how to cancel event propagation in Tkinter.
Rob Andrews wrote an article on Jython Swing Basics:
Cristian Barbarosie notices that os.path.commonprefix/ doesn't work
as one might expect, and suggests a fix.
Discussion on features of Python:
Paul Graham asks about generating closures in Python, leading to a
thread covering most of the possibilities:
Continuations Made Simple and Illustrated
Skip Montanaro discusses multiparadigm languages like Python,
Common Lisp, C++, etc.
Christopher Browne discusses what it means for Common Lisp to be
"multiparadigm", comparing with Oz, contrasting with Ruby,
Generator comprehensions came up again.
Alex Martelli discusses adapters and PEP 246, and alternatives to
The desire for internationalized identifier names that was
discussed at such length last week has come up again, in a
different form; someone wants to know why apply() insists on
having no unicode objects as keys in its kwargs dictionary.
Holger Krekel and Alex Martelli discuss adding currying to Python.
The new incarnation of Stackless Python, with "tasklets" connected
by Alef-style "channels", is now working.
Christian Tismer explains with some details.
Andrew Henshaw explains Occam channels, which are related but not
Gonçalo Rodrigues wishes he had explicit interfaces in Python.
Apparently both Zope and Twisted Python have explicit interfaces
Jack Diederich posts an implementation of a variation of PEP 274
(dict comprehensions) with no new syntax which allows him to
populate existing dictionaries from lists much faster than
Alex Martelli talks about Sather iterators and their relationship
to Python iterators.
Erik Max Francis explains why dict keys (and, by extension,
members of a set) must be immutable.
One informIT registration away is "Deitel Presents
Introduction to Python Iterators".
Cameron Laird has written an article on pydoc:
IDE Studio, an enhanced version of IDLE, the Python IDE, released
version 1.5 on 2002-05-18:
Skip Montanaro points to Bicycle Repair Man, a refactoring browser
for Python; version 0.5 was released 2002-05-15.
Mailman, the GNU mailing list manager (and the one everybody uses
these days), released version 2.0.11, which fixes security
holes, on 2002-05-20.
DPythOS, a network monitoring and administration system, released
version 0.0 on 2002-05-14; this one's by Luke Kenneth Casson
Leighton, so it might be worth watching:
Puffin, a framework for writing automated tests for web
applications, released version 0.8.10 on 2002-05-14:
ConvertAll, a GUI program for converting quantities between
different kinds of units, released version 0.2.2 on 2002-05-16:
TreeLine, a sort of cross between an outliner and a database,
released version 0.3.4 on 2002-05-15:
LinkChecker, which checks HTML documents for broken links,
released stable version 1.4.6 and development version 1.5.2 on
FlawFinder, which finds security holes in source code, released
version 0.22 on 2002-05-15:
Problems and solutions:
Some discussion about how to look up MX DNS records in Python:
Current Python built with Visual C++ 7.x can't load extension
modules without some build-configuration hackery, but it looks
like this bug is going to be fixed:
Matt Kimball was having trouble with getting his threads to
be scheduled fairly on Windows XP; Tim Peters points out that it's
a hard problem to solve in a portable fashion:
Peter Hansen mentions that a particular trick Tim recommends to
tweak responsiveness caused performance problems for his group:
Sean McGrath has a weird problem: when he creates a large, complex
object with cPickle, it takes a ridiculously long time to delete,
much longer than if he creates the same object by other means; and
furthermore, Python 2.1.3 takes five times longer than 1.5.2.
Nobody has yet figured out what's going on.
It seems that shutil.copy and shutil.copy2 don't properly copy
file metadata on Windows, which requires facilities prewin32all is
not included in the main Python distribution, so shutil can't
depend on it:
Greg Weeks complains that Python isn't backward compatible.
David LeBlanc defends its non-backward-compatibility.
A puzzling problem with telnetlib comes down to a bug in NT 4.0's
People discuss getting ANSI color support to work right, which is
difficult and painful:
There's a long discussion about how to tell whether a string
containing Python code contains an unterminated string,
culminating in this Holger Krekel post.
Mark Hadfield has made further progress running Python on his Cray
T3E, although it still doesn't run the test suite to completion:
Laura Creighton compares programming to civil engineering, finding
the two more similar than programmers like to think:
Paul Boddie has released a document comparing available Python
software to what J2EE provides for Java:
There is a very long debate about the philosophical topic of
aesthetics, frequently touching on ontology and epistemology;
Laura Creighton, among others, participates.
Jacob Hallén argues that interoperable small pieces of software
are better than large pieces of software.
The paper version of the Python Cookbook should be out from
O'Reilly soon; it's in copy-editing and production.
Tim Danieluk doesn't believe in vendor lock-in, thinks standards
are overrated, and thinks the real battlefield is in control of
data, not code.
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/.
firstname.lastname@example.org and email@example.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,
ask <firstname.lastname@example.org> to subscribe. Mention "Python-URL!".
-- The Python-URL! Team--
Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Python-URL!" project.