[LWN Logo]
[Timeline]
From: "A.M. Kuchling" <amk1@erols.com>
To: lwn@lwn.net
Subject: Python-dev summary, Sept. 1-15
Date: Wed, 20 Sep 2000 08:16:44 -0400

Python-dev summary, September 1-15, 2000
========================================

Released at last!
=================

Python 1.6final was released on September 5.
	http://www.python.org/1.6/

Python 2.0beta1 was released, also on September 5.  GvR's announcement:
"A unique event in all the history of Python: two releases on the same day!"
	http://www.python.org/pipermail/python-dev/2000-September/015924.html
Python 2.0 home page:
	http://www.pythonlabs.com/tech/python2.0/

Remember, the "What's New in Python 2.0" article goes into detail on 2.0's 
changes and new features.
	http://starship.python.net/crew/amk/python/writing/new-python/

Current plans are for a beta2 release around September 26th, and 
issue the final release two weeks later on October 10th.

Squabbling over the meaning of "print >>None" occupied some time; this
is the same as "print >>sys.stdout".  Vladimir Marangozov pointed out
that this feels wrong: "In Python, this form surely looks & feels like
the Unix cat /dev/null, that is, since None doesn't have a 'write'
method, the print statement is expected to either raise an exception
or be specialized for None to mean "the print statement has no
effect". The deliberate choice of sys.stdout is not obvious."
	http://www.python.org/pipermail/python-dev/2000-September/015966.html

The BDFL's reaction: "You don't have to make a strong association with
sys.stdout.  When the file expression is None, the whole ">>file, "
part disappears!"
	http://www.python.org/pipermail/python-dev/2000-September/016011.html


Licensing
=========

The licensing squabble become highly visible outside the community,
stemming from a debian-devel posting.  The basic problem is that one
term in CNRI's 1.6 license specifies that the contract should be
interpreted using Virginia law, because that's where CNRI is located.
The FSF's lawyer believes that this term is incompatible with the GPL,
because the GPL doesn't allow adding restrictions, and this counts as
a restriction.  

GvR's posting: "At this point, our best shot seems to be to arrange a
meeting between CNRI's lawyer and Stallman's lawyer.  Without the
lawyers there, we never seem to be able to get a commitment to an
agreement.  CNRI is willing to do this; Stallman's lawyer (Eben
Moglen; he's a law professor at Columbia U, not NYU as I previously
mentioned) is even harder to get a hold of than Stallman himself, so
it may be a while."  
	http://www.python.org/pipermail/python-dev/2000-September/015909.html

LinuxToday:
	http://linuxtoday.com/news_story.php3?ltsn=2000-09-07-001-21-OS-CY-DB
GvR's reaction:
	http://linuxtoday.com/news_story.php3?ltsn=2000-09-07-011-21-OS-CY-SW

Upside:
	http://www.upside.com/texis/mvm/story?id=39c10a5e0

Other matters
=============

XML support for 2.0 poses a problem, because it adds a package named
'xml' to the standard library, but this package name was already in
use by the package being developed by the XML-SIG.  There's a hack in
Lib/xml/__init__.py that tries to delegate imports to an _xmlplus
package if one is installed, but it doesn't work:
	http://www.python.org/pipermail/python-dev/2000-September/016110.html

Discussion continued for a while, but no clear resolution to the
problem has been made.  Possible fixes might be to use __import__
instead of the imp module, renaming the packages to xmlbase and xml,
or dropping the xml/ package from Python 2.0 completely.

An long-standing error in the docs for the re module was found by Paul
Prescod.  The docs claimed that the .start() and .end() methods of
MatchObjects return None when the group didn't participate in the
match, but the code actually returns -1.  The fix was to change the
docs to match the code, not the other way around.  GvR: "I'd suggest
fixing SRE and the docs, because -1 is a more useful indicator for 'no
match' than None: it has the same type as valid indices.  It makes it
easier to adapt to static typing later."
	http://www.python.org/pipermail/python-dev/2000-September/015846.html

Greg Ward wrote a Distutils setup script for IDLE:
	http://www.python.org/pipermail/python-dev/2000-September/015967.html

And the usual pile of minor fixes.  


Related Links
=============

Temporary archive of python-dev summaries:
        http://starship.python.net/crew/amk/python/dev/

Python-dev archives:
        http://www.python.org/pipermail/python-dev/

Python project page on SourceForge:
        http://sourceforge.net/projects/python

Python Enhancement Proposals (PEPs) summarize recent and past
proposals for enhancements:
        http://python.sourceforge.net/peps/

The python-dev summaries are intended to inform the larger Python
community of currently ongoing development.  To comment on material in
this python-dev summary, simply post to comp.lang.python or
<python-list@python.org>.  Give your posting a meaningful subject
line, and if it's about a PEP, include the PEP number (e.g. Subject:
PEP 201 - Lockstep iteration) All python-dev members are interested in
seeing ideas discussed by the community, so don't hesitate to take a
stance on a PEP if you can share an informed opinion.