Python-URL! - weekly Python news and links (Oct 14)

Gabriel Genellina python-url at
Tue Oct 14 12:22:36 CEST 2008

QOTW:  "Using Unix is the computing equivalent of listening only to music by
David Cassidy." - Rob Pike

    Default mutable arguments revisited:
    Sometimes it would be nice to include pictures or diagrams in a docstring:
    Working with the individual bits inside a byte:
    Detecting the highest bit set in an integer:
    The "best way" of summing up two or more attributes when iterating
    over a sequence or iterator:
    The "cmp" argument to sort/sorted is gone in Python 3.0 because there
    are better alternatives:
    Reversing a Template: given a string and a matching Template, return
    a dictionary mapping its fields to replacement values in the string.
    Attention to Python from the outside world:

Everything Python-related you want is probably one or two clicks away in
these pages:'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

    Just beginning with Python?  This page is a great place to start:

    The Python Papers aims to publish "the efforts of Python enthusiats":
    The Python Magazine is a technical monthly devoted to Python:

    Readers have recommended the "Planet" sites:

    comp.lang.python.announce announces new Python software.  Be
    sure to scan this newsgroup weekly.

    Python411 indexes "podcasts ... to help people learn Python ..."
    Updates appear more-than-weekly:

    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
    mailing lists

    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.

    The Summary of Python Tracker Issues is an automatically generated
    report summarizing new bugs, closed ones, and patch submissions.

    Although unmaintained since 2002, the Cetus collection of Python
    hyperlinks retains a few gems.

    Python FAQTS

    The Cookbook is a collaborative effort to capture useful and
    interesting recipes.

    Many Python conferences around the world are in preparation.
    Watch this space for links to them.

    Among several Python-oriented RSS/RDF feeds available, see:
    For more, see:
    The old Python "To-Do List" now lives principally in a
    SourceForge reincarnation. presents an intriguing approach to reference commentary.
    It already aggregates quite a bit of Python intelligence.

    *Py: the Journal of the Python Language*

    Dr.Dobb's Portal is another source of Python news and articles:
    and Python articles regularly appear at IBM DeveloperWorks:

Previous - (U)se the (R)esource, (L)uke! - messages are listed here:!+group%3Acomp.lang.python&start=0&scoring=d&

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> should get through.

To receive a new issue of this posting in e-mail each Monday morning
(approximately), ask <claird at> to subscribe.  Mention
"Python-URL!".  Write to the same address to unsubscribe.

-- The Python-URL! Team--

Phaseit, Inc. ( is pleased to participate in and
sponsor the "Python-URL!" project.  Watch this space for upcoming
news about posting archives.

More information about the Python-announce-list mailing list