Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a331e864
Kaydet (Commit)
a331e864
authored
Eyl 10, 2004
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add some stdlib items; remove 'other changes' section; fix sorting error in list of changed modules
üst
55be9eab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
30 deletions
+32
-30
whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+32
-30
No files found.
Doc/whatsnew/whatsnew24.tex
Dosyayı görüntüle @
a331e864
...
...
@@ -30,6 +30,11 @@ changes as the radical Python 2.2, but introduces more features than
the conservative 2.3 release did. The most significant new language
features (as of this writing) are function decorators and generator
expressions; most other changes are to the standard library.
% XXX update these figures as we go
According to the CVS change logs, there were 421 patches applied and
413 bugs fixed between Python 2.3 and 2.4. Both figures are likely to
be underestimates.
This article doesn't attempt to provide a complete specification of
every single new feature, but instead provides a convenient overview.
...
...
@@ -229,6 +234,9 @@ method that ignores missing keys:
u'3:
$
title'
\end
{
verbatim
}
% $ Terminate math-mode for Emacs
\begin
{
seealso
}
\seepep
{
292
}{
Simpler String Substitutions
}{
Written and implemented
by Barry Warsaw.
}
...
...
@@ -950,17 +958,15 @@ details.
\begin
{
itemize
}
% XXX new email parser
\item
The
\module
{
asyncore
}
module's
\function
{
loop
()
}
now has a
\var
{
count
}
parameter that lets you perform a limited number
of passes through the polling loop. The default is still to loop
forever.
\item
The
\module
{
curses
}
modules now supports the ncurses extension
\function
{
use
_
default
_
colors
()
}
. On platforms where the terminal
supports transparency, this makes it possible to use a transparent
background.
(
Contributed by J
\"
org Lehmann
.
)
\item
The
\module
{
base
64
}
module now has more complete RFC
3548
support
for Base
64
, Base
32
, and Base
16
encoding and decoding, including
optional case folding and optional alternative alphabets.
(
Contributed by Barry Warsaw
.
)
\item
The
\module
{
bisect
}
module now has an underlying C implementation
for improved performance.
...
...
@@ -1017,6 +1023,22 @@ improved performance, such as the \module{Queue} and
\exception
{
TypeError
}
if passed a
\var
{
value
}
argument that isn't a
string.
\item
The
\module
{
curses
}
module now supports the ncurses extension
\function
{
use
_
default
_
colors
()
}
. On platforms where the terminal
supports transparency, this makes it possible to use a transparent
background.
(
Contributed by J
\"
org Lehmann.
)
\item
The
\module
{
difflib
}
module now includes an
\class
{
HtmlDiff
}
class
that creates an HTML table showing a side by side comparison
of two versions of a text.
(
Contributed by Dan Gass.
)
\item
The
\module
{
email
}
package uses a new incremental parser for MIME
message, available in the
\module
{
email.FeedParser
}
module.
The new parser doesn't require reading the entire message into memory,
and doesn't throw exceptions if a message is malformed; instead it records
any problems as a
\member
{
defect
}
attribute of the message.
(
Developed by Anthony Baxter, Barry Warsaw, Thomas Wouters, and others.
)
\item
The
\module
{
heapq
}
module has been converted to C. The resulting
tenfold improvement in speed makes the module suitable for handling
high volumes of data. In addition, the module has two new functions
...
...
@@ -1237,6 +1259,10 @@ Other threads can assign and retrieve their own values for the
\class
{
local
}
to initialize attributes or to add methods.
(
Contributed by Jim Fulton.
)
\item
The
\module
{
timeit
}
module now automatically disables periodic
garbarge collection during the timing loop. This change makes
consecutive timings more comparable.
\item
The
\module
{
weakref
}
module now supports a wider variety of objects
including Python functions, class instances, sets, frozensets, deques,
arrays, files, sockets, and regular expression pattern objects.
...
...
@@ -1337,30 +1363,6 @@ Changes to Python's build process and to the C API include:
\end
{
itemize
}
%======================================================================
\section
{
Other Changes and Fixes
\label
{
section
-
other
}}
% XXX update these figures as we go
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
421
patches applied and
413
bugs fixed between
Python
2
.
3
and
2
.
4
. Both figures are likely to be underestimates.
Some of the more notable changes are:
\begin
{
itemize
}
\item
The
\module
{
timeit
}
module now automatically disables periodic
garbarge collection during the timing loop. This change makes
consecutive timings more comparable.
\item
The
\module
{
base
64
}
module now has more complete RFC
3548
support
for Base
64
, Base
32
, and Base
16
encoding and decoding, including
optional case folding and optional alternative alphabets.
(
Contributed by Barry Warsaw.
)
\end
{
itemize
}
%======================================================================
\section
{
Porting to Python
2
.
4
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment