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
b6f79590
Kaydet (Commit)
b6f79590
authored
Kas 29, 2002
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix value of 'propagate' (noted by Chris Reedy)
Rewrite paragraph
üst
fb97443e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+10
-8
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
b6f79590
...
@@ -514,7 +514,7 @@ instances are converted to text by a \class{Formatter} class.
...
@@ -514,7 +514,7 @@ instances are converted to text by a \class{Formatter} class.
Log records are usually propagated up the hierarchy, so a message
Log records are usually propagated up the hierarchy, so a message
logged to
\samp
{
server.auth
}
is also seen by
\samp
{
server
}
and
logged to
\samp
{
server.auth
}
is also seen by
\samp
{
server
}
and
\samp
{
root
}
, but a handler can prevent this by setting its
\samp
{
root
}
, but a handler can prevent this by setting its
\member
{
propagate
}
attribute to
\code
{
Tru
e
}
.
\member
{
propagate
}
attribute to
\code
{
Fals
e
}
.
With all of these features the
\module
{
logging
}
package should provide
With all of these features the
\module
{
logging
}
package should provide
enough flexibility for even the most complicated applications. This
enough flexibility for even the most complicated applications. This
...
@@ -743,12 +743,14 @@ or use them directly in subscripts:
...
@@ -743,12 +743,14 @@ or use them directly in subscripts:
[0, 2, 4]
[0, 2, 4]
\end{verbatim}
\end{verbatim}
To make implementing sequences that support extended slicing in Python
To simplify implementing sequences that support extended slicing,
easier, slice objects now have a method
\method
{
indices
}
which given
slice objects now have a method
\method
{
indices(
\var
{
length
}
)
}
which,
the length of a sequence returns
\code
{
(start, stop, step)
}
handling
given the length of a sequence, returns a
\code
{
(start, stop, step)
}
omitted and out-of-bounds indices in a manner consistent with regular
tuple that can be passed directly to
\function
{
range()
}
.
slices (and this innocuous phrase hides a welter of confusing
\method
{
indices()
}
handles omitted and out-of-bounds indices in a
details!). The method is intended to be used like this:
manner consistent with regular slices (and this innocuous phrase hides
a welter of confusing details!). The method is intended to be used
like this:
\begin{verbatim}
\begin{verbatim}
class FakeSeq:
class FakeSeq:
...
@@ -1699,6 +1701,6 @@ suggestions, corrections and assistance with various drafts of this
...
@@ -1699,6 +1701,6 @@ suggestions, corrections and assistance with various drafts of this
article: Simon Brunning, Michael Chermside, Scott David Daniels,
article: Simon Brunning, Michael Chermside, Scott David Daniels,
Fred~L. Drake, Jr., Michael Hudson, Detlef Lannert, Martin von
Fred~L. Drake, Jr., Michael Hudson, Detlef Lannert, Martin von
L
\"
owis, Andrew MacIntyre, Lalo Martins, Gustavo Niemeyer, Neal
L
\"
owis, Andrew MacIntyre, Lalo Martins, Gustavo Niemeyer, Neal
Norwitz, Neil Schemenauer, Jason Tishler.
Norwitz,
Chris Reedy,
Neil Schemenauer, Jason Tishler.
\end
{
document
}
\end
{
document
}
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