Dr. Dobb's Python-URL! - weekly Python news and links (Nov 10)
python-url at phaseit.net
Wed Nov 10 18:23:51 CET 2004
QOTW: "I find it hard to believe nobody has tried this yet, unless it's
the case that those who know how to do it also know that it's actually
not possible for some reason..." -- Peter Hansen
"Some people may actually want to drink poisoned kool-aid and join the
great wise extraterrestrials on their comet in the skies." -- Alex Martelli
responding to the idea that some programmers may actually want "a" + 10 == 10.
Zunbeltz Izaola has a problem passing an exception between threads in a
wxPython application. A couple different approaches are offered: custom
events and using a queue to store the traceback. Peter Hansen suggests a
possible avenue using ctypes, but quickly becomes mired in an argument
with himself before Thomas Heller finally rescues him:
BJörn Lindqvist wonders why wxPython isn't in the standard library.
Roger Binns and others offer their insight. Amazingly not one person is
flamed during the exchange and a potentially endless thread ends as
suddenly as it began:
Wolfgang Keller wonders about using JMS from CPython via JPype. David
Morgenthaler offers a solution which appears to impress Wolfgang. I
don't know anything about this, so draw your own conclusions here about
whether David's example is truly amazing or Wolfgang is simply easily
Vinay Sajip announces a new configuration module which prompts some
discussion over file formats are best expressed in Python itself or a
The Eternal Squire tables PEP 336 which suggests making None callable.
Yes, that's his name:
Michele Simionato offers a string-interpolation recipe using
string.Template from Python 2.4:
More about string.Template:
Maurice LING wonders why Python is slower than Java. This turns into a
discussion on netiquette, smart questions and the general atmosphere of
[in]tolerance on c.l.py:
Gabriel Zachmann asks about a generic way to access C++ libraries from
Python. The consensus doesn't sound promising:
Alan Gauld announces a new "web-tutor for beginners". No announcement
has yet been made regarding a web-tutor for experts:
Mike Thompson is puzzled by interning strings which leads to some
enlightening exposition by Peter Otten, et al, on how Python chooses to
intern strings and how users can utilize this functionality in their own
syd wonders about a way to return a subset from a large list of
instances of similar classes. A couple different solutions are offered
and the discussion turns to new- versus old-style classes:
Stephen Ferg takes on the twice-yearly task of reminding everyone that
Python is doomed without a CPAN equivalent, meets with the ritual
retorts and everyone eventually moves on, satisfied that we need not
discuss this again until next April:
Gabriel Zachmann starts what appears to be the longest thread of the
week with a discussion on the definition of strong/weak typing. In
typical c.l.py fashion, supercooled fluids are offered as a possible
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."
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.
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-announce-list