python-dev summary, Nov 16-30 
Author Message
 python-dev summary, Nov 16-30

Python-dev summary, November 16-30, 2000  

To comment on material in this python-dev summary, you can simply post

archived at <URL: http://www.*-*-*.com/ ;.

It was a quiet two weeks, with only 215 postings to python-dev.  Guido
was on vacation, which doubtless contributed to the silence.

Python standardization?

Mark Lutz worried about whether python is changing too quickly.
"Things seem to be changing too fast for many developers to keep up,
and it seems to me that a formal standard doc might help ease a few
fears I've seen out there.  Books used to be a sort of de facto
standard, but even they aren't reliable anymore; and the manuals
aren't useful as a standard if they are open to arbitrary change every
few months."

M.-A. Lemburg was dubious: "I don't see how a Python standard would do
any good. Standards have version numbers as well and change at about
the same rate (e.g. take Unicode 2.0 vs. Unicode 3.0)."

Christian was more positive: "I don't see the danger of bureaucracy so
much. Instead, setting a standard is a sign of maturity for a language."

It's doubtful Mark will gain much comfort from the discussion, because
most people viewed a standard as specifying degrees of flexibility
exploitable by alternative implementations of Python, which would only
lead to *more* variations, not fewer.

Other stuff

In a boring echo of the .setdefault() method, some new dictionary
methods of minor usefulness were suggested, for looping through a
dictionary without actually constructing the full .keys() or .values()
list.  As Tim points out, these methods would be handy for
constructing an efficient set class: "This operation can't be done
efficiently in Python code if the set is represented by a dict (the
best you can do is materialize the full list of keys first, and pick
one of those).  That means my Set class often takes quadratic time for
what *should* be linear-time algorithms."

Jeffrey C. Ollie notified the python-dev list that, as an experiment,
he embedded Python in the Exim mail transport agent: "I imagine that
embedding Python in Exim will be interesting to those folks writing
virus scanners or for VERY tight integration of Mailman with Exim."  
There were no follow-ups.

The .capitalize() method is inconsistent between Unicode and regular
strings, and the documentation is unclear about its definition.  Does
S.capitalize() return the string with its first character capitalized
and no other changes, or with the rest of the string lowercase?  Guido
ruled that the latter interpretation is the intended one.

AMK submitted PEP 229, aiming to use the Distutils to build and
install Python's standard library in place of the current
Modules/ and makesetup mechanism.

Related Links

Python-dev archives:

Python project page on SourceForge:

Python Enhancement Proposals (PEPs):

Fri, 23 May 2003 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Python-dev summary: Sept. 16-30

2. python-dev summary, July 16-31

3. python-dev summary, Dec. 16-31

4. python-dev summary, July 16-31

5. python-dev summary, Jan. 16-31

6. pypy-dev List Summary - 09 Feb 2003 to 16 Feb 2003

7. I've lost the address of the J3 preview party 30 Nov Toron

8. J3 preview party 30 Nov

9. COURSE: High Level Design Using VHDL, Oct 30-Nov 3, Beaverton OR

10. COURSE: High Level Design Using VHDL, Oct 30-Nov 3, Beaverton OR


Powered by phpBB® Forum Software