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
3cdf24bc
Kaydet (Commit)
3cdf24bc
authored
May 25, 2006
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor edits; add an item
üst
696cf43b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+9
-2
No files found.
Doc/whatsnew/whatsnew25.tex
Dosyayı görüntüle @
3cdf24bc
...
...
@@ -512,9 +512,9 @@ generators:
\exception
{
GeneratorExit
}
or
\exception
{
StopIteration
}
; catching the
exception and doing anything else is illegal and will trigger
a
\exception
{
RuntimeError
}
.
\method
{
close()
}
will also be called by
Python's garbage collect
ion
when the generator is garbage-collected.
Python's garbage collect
or
when the generator is garbage-collected.
If you need to run cleanup code
in case of a
\exception
{
GeneratorExit
}
,
If you need to run cleanup code
when a
\exception
{
GeneratorExit
}
occurs
,
I suggest using a
\code
{
try: ... finally:
}
suite instead of
catching
\exception
{
GeneratorExit
}
.
...
...
@@ -1143,6 +1143,13 @@ added by Fredrik Lundh and Andrew Dalke at the NeedForSpeed
sprint. Character map decoding was improved by Walter D
\"
orwald.)
% Patch 1313939
\item
The
\function
{
long(
\var
{
str
}
,
\var
{
base
}
)
}
function is now
faster on long digit strings because fewer intermediate results are
calculated. The peak is for strings of around 800--1000 digits where
the function is 6 times faster.
(Contributed by Alan McIntyre and committed at the NeedForSpeed sprint.)
% Patch 1442927
\item
The
\module
{
struct
}
module now compiles structure format
strings into an internal representation and caches this
representation, yielding a 20
\%
speedup. (Contributed by Bob Ippolito
...
...
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