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
5785a139
Kaydet (Commit)
5785a139
authored
Tem 26, 2004
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add some items
üst
e03664ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+15
-0
No files found.
Doc/whatsnew/whatsnew24.tex
Dosyayı görüntüle @
5785a139
...
...
@@ -838,6 +838,12 @@ If the separation is large, then you might as well use
another,
\function
{
tee()
}
is ideal. Possible applications include
bookmarking, windowing, or lookahead iterators.
\item
A number of functions were added to the
\module
{
locale
}
module, such as
\function
{
bind
_
textdomain
_
codeset()
}
to specify a
particular encoding, and a family of
\function
{
l*gettext()
}
functions
that return messages in the chosen encoding.
(Contributed by Gustavo Niemeyer.)
\item
The
\module
{
logging
}
package's
\function
{
basicConfig
}
function
gained some keyword arguments to simplify log configuration. The
default behavior is to log messages to standard error, but
...
...
@@ -858,6 +864,11 @@ which rotated logs once the file exceeded a certain size. Both
classes derive from a new
\class
{
BaseRotatingHandler
}
class that can
be used to implement other rotating handlers.
\item
The
\module
{
nntplib
}
module's
\class
{
NNTP
}
class gained
\method
{
description()
}
and
\method
{
descriptions()
}
methods to retrieve
newsgroup descriptions for a single group or for a range of groups.
(Contributed by J
\"
urgen A. Erhard.)
\item
The
\module
{
operator
}
module gained two new functions,
\function
{
attrgetter(
\var
{
attr
}
)
}
and
\function
{
itemgetter(
\var
{
index
}
)
}
.
Both functions return callables that take a single argument and return
...
...
@@ -959,6 +970,10 @@ Changes to Python's build process and to the C API include:
values from extension functions:
\csimplemacro
{
Py
_
RETURN
_
NONE
}
,
\csimplemacro
{
Py
_
RETURN
_
TRUE
}
, and
\csimplemacro
{
Py
_
RETURN
_
FALSE
}
.
\item
Another new macro,
\csimplemacro
{
Py
_
CLEAR(
\var
{
obj
}
)
}
,
decreases the reference count of
\var
{
obj
}
and sets
\var
{
obj
}
to the
null pointer.
\item
A new function,
\cfunction
{
PyTuple
_
Pack(
\var
{
N
}
,
\var
{
obj1
}
,
\var
{
obj2
}
, ...,
\var
{
objN
}
)
}
, constructs tuples from a variable
length argument list of Python objects.
...
...
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