mirror of https://github.com/python/cpython.git
Bring back the patch/bug count paragraph.
Correct source of *strip() changes Small rewrites.
This commit is contained in:
parent
dc3f7e12ee
commit
7a82b8c736
|
@ -14,8 +14,6 @@
|
||||||
%
|
%
|
||||||
% MacOS framework-related changes (section of its own, probably)
|
% MacOS framework-related changes (section of its own, probably)
|
||||||
%
|
%
|
||||||
% New sorting code
|
|
||||||
%
|
|
||||||
% xreadlines obsolete; files are their own iterator
|
% xreadlines obsolete; files are their own iterator
|
||||||
|
|
||||||
%\section{Introduction \label{intro}}
|
%\section{Introduction \label{intro}}
|
||||||
|
@ -700,7 +698,7 @@ KeyError: pop(): dictionary is empty
|
||||||
|
|
||||||
(Patch contributed by Raymond Hettinger.)
|
(Patch contributed by Raymond Hettinger.)
|
||||||
|
|
||||||
\item The \keyword{assert} statement no longer checks the \code{__debug__}
|
\item The \keyword{assert} statement no longer checks the \code{__debug__}
|
||||||
flag, so you can no longer disable assertions by assigning to \code{__debug__}.
|
flag, so you can no longer disable assertions by assigning to \code{__debug__}.
|
||||||
Running Python with the \programopt{-O} switch will still generate
|
Running Python with the \programopt{-O} switch will still generate
|
||||||
code that doesn't execute any assertions.
|
code that doesn't execute any assertions.
|
||||||
|
@ -804,7 +802,7 @@ u'\u4001abc'
|
||||||
>>>
|
>>>
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
(Contributed by Simon Brunning.)
|
(Suggested by Simon Brunning, and implemented by Walter D\"orwald.)
|
||||||
|
|
||||||
\item The \method{startswith()} and \method{endswith()}
|
\item The \method{startswith()} and \method{endswith()}
|
||||||
string methods now accept negative numbers for the start and end
|
string methods now accept negative numbers for the start and end
|
||||||
|
@ -1301,7 +1299,12 @@ Python now supports AtheOS (\url{http://www.atheos.cx}) and GNU/Hurd.
|
||||||
%======================================================================
|
%======================================================================
|
||||||
\section{Other Changes and Fixes}
|
\section{Other Changes and Fixes}
|
||||||
|
|
||||||
Finally, there are various miscellaneous fixes:
|
As usual, there were a bunch of other improvements and bugfixes
|
||||||
|
scattered throughout the source tree. A search through the CVS change
|
||||||
|
logs finds there were 289 patches applied and 323 bugs fixed between
|
||||||
|
Python 2.2 and 2.3. Both figures are likely to be underestimates.
|
||||||
|
|
||||||
|
Some of the more notable changes are:
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
|
|
||||||
|
@ -1317,8 +1320,8 @@ using a different mechanism that works with ``python -O''. For Python
|
||||||
call the trace function, removing the need for \code{SET_LINENO}
|
call the trace function, removing the need for \code{SET_LINENO}
|
||||||
entirely.
|
entirely.
|
||||||
|
|
||||||
Python code will be hard pushed to notice a difference from this
|
It would be difficult to detect any resulting difference from Python
|
||||||
change, apart from a slight speed up when python is run without
|
code, apart from a slight speed up when Python is run without
|
||||||
\programopt{-O}.
|
\programopt{-O}.
|
||||||
|
|
||||||
C extensions that access the \member{f_lineno} field of frame objects
|
C extensions that access the \member{f_lineno} field of frame objects
|
||||||
|
@ -1340,7 +1343,7 @@ XXX write this
|
||||||
|
|
||||||
The author would like to thank the following people for offering
|
The author would like to thank the following people for offering
|
||||||
suggestions, corrections and assistance with various drafts of this
|
suggestions, corrections and assistance with various drafts of this
|
||||||
article: Michael Chermside, Scott David Daniels, Fred~L. Drake, Jr.,
|
article: Simon Brunning, Michael Chermside, Scott David Daniels, Fred~L. Drake, Jr.,
|
||||||
Michael Hudson, Detlef Lannert, Martin von L\"owis, Andrew MacIntyre,
|
Michael Hudson, Detlef Lannert, Martin von L\"owis, Andrew MacIntyre,
|
||||||
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Jason Tishler.
|
Lalo Martins, Gustavo Niemeyer, Neal Norwitz, Jason Tishler.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue