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
da37604e
Kaydet (Commit)
da37604e
authored
Mar 17, 2006
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add two items
üst
a0622709
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+26
-0
No files found.
Doc/whatsnew/whatsnew25.tex
Dosyayı görüntüle @
da37604e
...
@@ -488,6 +488,24 @@ class C():
...
@@ -488,6 +488,24 @@ class C():
\end{itemize}
\end{itemize}
%======================================================================
\subsection
{
Interactive Interpreter Changes
}
In the interactive interpreter,
\code
{
quit
}
and
\code
{
exit
}
have long been strings so that new users get a somewhat helpful message
when they try to quit:
\begin{verbatim}
>>> quit
'Use Ctrl-D (i.e. EOF) to exit.'
\end{verbatim}
In Python 2.5,
\code
{
quit
}
and
\code
{
exit
}
are now objects that still
produce string representations of themselves, but are also callable.
Newbies who try
\code
{
quit()
}
or
\code
{
exit()
}
will now exit the
interpreter as they expect. (Implemented by Georg Brandl.)
%======================================================================
%======================================================================
\subsection
{
Optimizations
}
\subsection
{
Optimizations
}
...
@@ -530,6 +548,14 @@ details.
...
@@ -530,6 +548,14 @@ details.
% datetime.datetime() now has a strptime class method which can be used to
% datetime.datetime() now has a strptime class method which can be used to
% create datetime object using a string and format.
% create datetime object using a string and format.
\item
In the
\module
{
gc
}
module, the new
\function
{
get
_
count()
}
function
returns a 3-tuple containing the current collection counts for the
three GC generations. This is accounting information for the garbage
collector; when these counts reach a specified threshold, a garbage
collection sweep will be made. The existing
\function
{
gc.collect()
}
function now takes an optional
\var
{
generation
}
argument of 0, 1, or 2
to specify which generation to collect.
\item
A new
\module
{
hashlib
}
module has been added to replace the
\item
A new
\module
{
hashlib
}
module has been added to replace the
\module
{
md5
}
and
\module
{
sha
}
modules.
\module
{
hashlib
}
adds support
\module
{
md5
}
and
\module
{
sha
}
modules.
\module
{
hashlib
}
adds support
for additional secure hashes (SHA-224, SHA-256, SHA-384, and SHA-512).
for additional secure hashes (SHA-224, SHA-256, SHA-384, and SHA-512).
...
...
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