[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.100,1.101
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Fri, 03 Jan 2003 08:52:29 -0800
- Previous message: [Python-checkins] python/nondist/sandbox/datetime doc.txt,1.80,1.81
- Next message: [Python-checkins] python/dist/src/Lib macpath.py,1.42,1.43 ntpath.py,1.53,1.54 os2emxpath.py,1.8,1.9 posixpath.py,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv6023
Modified Files:
whatsnew23.tex
Log Message:
Write PEP 301 section
Mention difference between 2.2.2 and 2.3 True and False
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** whatsnew23.tex 3 Jan 2003 16:24:28 -0000 1.100
--- whatsnew23.tex 3 Jan 2003 16:52:27 -0000 1.101
***************
*** 544,548 ****
A Boolean type was added to Python 2.3. Two new constants were added
to the \module{__builtin__} module, \constant{True} and
! \constant{False}. The type object for this new type is named
\class{bool}; the constructor for it takes any Python value and
converts it to \constant{True} or \constant{False}.
--- 544,553 ----
A Boolean type was added to Python 2.3. Two new constants were added
to the \module{__builtin__} module, \constant{True} and
! \constant{False}. (\constant{True} and
! \constant{False} constants were added to the built-ins
! in Python 2.2.2, but the 2.2.2 versions simply have integer values of
! 1 and 0 and aren't a different type.)
!
! The type object for this new type is named
\class{bool}; the constructor for it takes any Python value and
converts it to \constant{True} or \constant{False}.
***************
*** 705,709 ****
\section{PEP 301: Package Index and Metadata for Distutils\label{section-pep301}}
! XXX This section needs to be written.
\begin{seealso}
--- 710,746 ----
\section{PEP 301: Package Index and Metadata for Distutils\label{section-pep301}}
! Support for the long-requested Python catalog makes its first
! appearance in 2.3.
!
! The core component is the new Distutil \samp{register} command.
! Running \code{python setup.py register} will collect up the metadata
! describing a package, such as its name, version, maintainer,
! description, \&c., and sends it to a central catalog server.
! Currently the catalog can be browsed at
! \url{http://www.amk.ca/cgi-bin/pypi.cgi}, but it will move to
! some hostname in the \code{python.org} domain before the final version
! of 2.3 is released.
!
! To make the catalog a bit more useful, a new optional
! \samp{classifiers} keyword argument has been added to the Distutils
! \function{setup()} function. A list of
! \citetitle[http://www.tuxedo.org/\%7Eesr/trove/]{Trove}-style strings can be supplied to help classify the software.
!
! Here's an example \file{setup.py} with classifiers:
!
! \begin{verbatim}
! setup (name = "Quixote",
! version = "0.5.1",
! description = "A highly Pythonic Web application framework",
! ...
! classifiers= ['Topic :: Internet :: WWW/HTTP :: Dynamic Content',
! 'Environment :: No Input/Output (Daemon)',
! 'Intended Audience :: Developers'],
! ...
! )
! \end{verbatim}
!
! The full list of classifiers can be obtained by running
! \code{python setup.py register --list-classifiers}.
\begin{seealso}
- Previous message: [Python-checkins] python/nondist/sandbox/datetime doc.txt,1.80,1.81
- Next message: [Python-checkins] python/dist/src/Lib macpath.py,1.42,1.43 ntpath.py,1.53,1.54 os2emxpath.py,1.8,1.9 posixpath.py,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]