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
c9236111
Kaydet (Commit)
c9236111
authored
Nis 30, 2006
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add two items
üst
eb2e1926
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+17
-0
No files found.
Doc/whatsnew/whatsnew25.tex
Dosyayı görüntüle @
c9236111
...
@@ -1125,6 +1125,14 @@ a line like this near the top of the source file:
...
@@ -1125,6 +1125,14 @@ a line like this near the top of the source file:
# -*- coding: latin1 -*-
# -*- coding: latin1 -*-
\end{verbatim}
\end{verbatim}
\item
One error that Python programmers sometimes make is forgetting
to include an
\file
{__
init
__
.py
}
module in a package directory.
Debugging this mistake can be confusing, and usually requires running
Python with the
\programopt
{
-v
}
switch to log all the paths searched.
In Python 2.5, a new
\exception
{
ImportWarning
}
warning is raised when
an import would have picked up a directory as a package but no
\file
{__
init
__
.py
}
was found. (Implemented by Thomas Wouters.)
\item
The list of base classes in a class definition can now be empty.
\item
The list of base classes in a class definition can now be empty.
As an example, this is now legal:
As an example, this is now legal:
...
@@ -1440,6 +1448,15 @@ functions for finding packages, was enhanced to support PEP 302's
...
@@ -1440,6 +1448,15 @@ functions for finding packages, was enhanced to support PEP 302's
import hooks and now also works for packages stored in ZIP-format archives.
import hooks and now also works for packages stored in ZIP-format archives.
(Contributed by Phillip J. Eby.)
(Contributed by Phillip J. Eby.)
\item
The pybench benchmark suite by Marc-Andr
\'
e~Lemburg is now
included in the
\file
{
Tools/pybench
}
directory. The pybench suite is
an improvement on the commonly used
\file
{
pystone.py
}
program because
pybench provides a more detailed measurement of the interpreter's
performance. It times particular operations such as function calls,
tuple slicing, method lookups, and numeric operations, instead of
performing many different operations and reducing the result to a
single number as
\file
{
pystone.py
}
does.
\item
The old
\module
{
regex
}
and
\module
{
regsub
}
modules, which have been
\item
The old
\module
{
regex
}
and
\module
{
regsub
}
modules, which have been
deprecated ever since Python 2.0, have finally been deleted.
deprecated ever since Python 2.0, have finally been deleted.
Other deleted modules:
\module
{
statcache
}
,
\module
{
tzparse
}
,
Other deleted modules:
\module
{
statcache
}
,
\module
{
tzparse
}
,
...
...
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