Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fed4f1e

Browse files
committed
Changes from Moshe:
- distutils: Windows installers are already working - string methods: .join() seems to be the concensus, so it should probably be docommented - filecmp.py supersedes cmp, cmpcache and dircmp - winreg is completely new: _winreg is an adaptation of what used to be in win32api, and winreg is a Python implementation which adds OO syntax. Perhaps you know that, but the text is misleading.
1 parent 46d5651 commit fed4f1e

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

Doc/whatsnew/whatsnew20.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,12 @@ \section{Distutils: Making Modules Easy to Install}
233233
The Distutils can also take care of creating source and binary
234234
distributions. The ``sdist'' command, run by ``\code{python setup.py
235235
sdist}', builds a source distribution such as \file{foo-1.0.tar.gz}.
236-
Adding new commands isn't difficult, and a ``bdist_rpm'' command has
237-
already been contributed to create an RPM distribution for the
238-
software. Commands to create Windows installer programs, Debian
239-
packages, and Solaris .pkg files have been discussed and are in
240-
various stages of development.
236+
Adding new commands isn't difficult, ``bdist_rpm'' and
237+
``bdist_wininst'' commands have already been contributed to create an
238+
RPM distribution and a Windows installer for the software,
239+
respectively. Commands to create other distribution formats such as
240+
Debian packages and Solaris \file{.pkg} files are in various stages of
241+
development.
241242
242243
All this is documented in a new manual, \textit{Distributing Python
243244
Modules}, that joins the basic set of Python documentation.
@@ -280,12 +281,12 @@ \section{String Methods}
280281
and \method{endswith}. \code{s.startswith(t)} is equivalent to \code{s[:len(t)]
281282
== t}, while \code{s.endswith(t)} is equivalent to \code{s[-len(t):] == t}.
282283
283-
%One other method which deserves special mention is \method{join}. The
284-
%\method{join} method of a string receives one parameter, a sequence of
285-
%strings, and is equivalent to the \function{string.join} function from
286-
%the old \module{string} module, with the arguments reversed. In other
287-
%words, \code{s.join(seq)} is equivalent to the old
288-
%\code{string.join(seq, s)}.
284+
One other method which deserves special mention is \method{join}. The
285+
\method{join} method of a string receives one parameter, a sequence of
286+
strings, and is equivalent to the \function{string.join} function from
287+
the old \module{string} module, with the arguments reversed. In other
288+
words, \code{s.join(seq)} is equivalent to the old
289+
\code{string.join(seq, s)}.
289290
290291
% ======================================================================
291292
\section{Porting to 2.0}
@@ -658,7 +659,7 @@ \section{New modules}
658659
659660
\item{\module{codecs}, \module{encodings}, \module{unicodedata}:} Added as part of the new Unicode support.
660661
661-
\item{\module{filecmp}:} Supersedes the old \module{cmp} and
662+
\item{\module{filecmp}:} Supersedes the old \module{cmp}, \module{cmpcache} and
662663
\module{dircmp} modules, which have now become deprecated.
663664
(Contributed by Gordon MacMillan and Moshe Zadka.)
664665
@@ -690,12 +691,12 @@ \section{New modules}
690691
\item{\module{UserString}:} A base class useful for deriving objects that behave like strings.
691692
692693
\item{\module{winreg} and \module{_winreg}:} An interface to the
693-
Windows registry. \module{winreg} has been part of PythonWin since
694-
1995, but now has been added to the core distribution, and enhanced to
695-
support Unicode. \module{_winreg} is a low-level wrapper of the
696-
Windows registry functions, contributed by Bill Tutt and Mark Hammond,
697-
while \module{winreg} is a higher-level, more object-oriented API on top of
698-
\module{_winreg}, designed by Thomas Heller and implemented by Paul Prescod.
694+
Windows registry. \module{_winreg} is an adaptation of functions that
695+
have been part of PythonWin since 1995, but has now been added to the core
696+
distribution, and enhanced to support Unicode. \module{winreg} is an
697+
object-oriented API on top of the \module{_winreg} module.
698+
\module{_winreg} was written by Bill Tutt and Mark Hammond, and \module{winreg}
699+
was designed by Thomas Heller and implemented by Paul Prescod.
699700
700701
\item{\module{zipfile}:} A module for reading and writing ZIP-format
701702
archives. These are archives produced by \program{PKZIP} on
@@ -770,4 +771,3 @@ \section{Acknowledgements}
770771
Montanaro, Vladimir Marangozov, Guido van Rossum, Neil Schemenauer.
771772
772773
\end{document}
773-

0 commit comments

Comments
 (0)