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
72b58e0c
Kaydet (Commit)
72b58e0c
authored
May 29, 2002
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More additions
üst
aef22fb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
25 deletions
+15
-25
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+15
-25
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
72b58e0c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
% Go through and get the contributor's name for all the various changes
% Go through and get the contributor's name for all the various changes
\title
{
What's New in Python 2.3
}
\title
{
What's New in Python 2.3
}
\release
{
0.0
1
}
\release
{
0.0
2
}
\author
{
A.M. Kuchling
}
\author
{
A.M. Kuchling
}
\authoraddress
{
\email
{
akuchlin@mems-exchange.org
}}
\authoraddress
{
\email
{
akuchlin@mems-exchange.org
}}
...
@@ -506,6 +506,8 @@ KeyError: pop(): dictionary is empty
...
@@ -506,6 +506,8 @@ KeyError: pop(): dictionary is empty
>>>
>>>
\end{verbatim}
\end{verbatim}
(Contributed by Raymond Hettinger.)
\item
Two new functions in the
\module
{
math
}
module,
\item
Two new functions in the
\module
{
math
}
module,
\function
{
degrees(
\var
{
rads
}
)
}
and
\function
{
radians(
\var
{
degs
}
)
}
,
\function
{
degrees(
\var
{
rads
}
)
}
and
\function
{
radians(
\var
{
degs
}
)
}
,
convert between radians and degrees. Other functions in the
convert between radians and degrees. Other functions in the
...
@@ -582,40 +584,28 @@ This results in the benchmark tests in \file{Lib/test/test_bufio.py}
...
@@ -582,40 +584,28 @@ This results in the benchmark tests in \file{Lib/test/test_bufio.py}
speeding up from 57 seconds to 1.7 seconds, according to one
speeding up from 57 seconds to 1.7 seconds, according to one
measurement.
measurement.
\item
XXX Introduce two new flag bits that can be set in a PyMethodDef method
\item
It's now possible to define class and static methods for a C
descriptor, as used for the tp
_
methods slot of a type. These new flag
extension type by setting either the
\constant
{
METH
_
CLASS
}
or
bits are both optional, and mutually exclusive. Most methods will not
\constant
{
METH
_
STATIC
}
flags in a method's
\ctype
{
PyMethodDef
}
use either. These flags are used to create special method types which
structure.
exist in the same namespace as normal methods without having to use
tedious construction code to insert the new special method objects in
the type's tp
_
dict after PyType
_
Ready() has been called.
If METH
_
CLASS is specified, the method will represent a class method
like that returned by the classmethod() built-in.
If METH
_
STATIC is specified, the method will represent a static method
like that returned by the staticmethod() built-in.
These flags may not be used in the PyMethodDef table for modules since
these special method types are not meaningful in that case; a
ValueError will be raised if these flags are found in that context.
\end{itemize}
\end{itemize}
\subsection
{
Port-Specific Changes
}
\subsection
{
Port-Specific Changes
}
XXX write this
XXX write this
XXX OS/2 EMX port
XXX OS/2 EMX port
XXX MacOS: Weaklink most toolbox modules, improving backward
On MacOS, most toolbox modules have been weaklinked to improve
compatibility. Modules will no longer fail to load if a single routine
backward compatibility. This means that modules will no longer fail
is missing on the curent OS version, in stead calling the missing
to load if a single routine is missing on the curent OS version.
routine will raise an exception. Should finally fix 531398. 2.2.1
Instead calling the missing routine will raise an exception.
candidate. Also blacklisted some constants with definitions that
were not Python-compatible.
XXX Checked in Sean Reifschneider's RPM spec file and patches.
Sean Reifschneider contributed an updated RPM spec file that can be
found in the
\file
{
Misc/RPM/
}
directory in the Python source
distribution.
%======================================================================
%======================================================================
...
...
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