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
7845e7c7
Kaydet (Commit)
7845e7c7
authored
Tem 11, 2002
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[Bug #567607] Suggest METH_NOARGS to replace PyArg_NoArgs
üst
c62b95e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+9
-5
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
7845e7c7
...
...
@@ -653,9 +653,13 @@ when running Python's \file{configure} script. (Contributed by Ondrej
Palkovsky.)
\item
The
\cfunction
{
PyArg
_
NoArgs()
}
macro is now deprecated, and code
that
uses it should be changed to use
\code
{
PyArg
_
ParseTuple(args, "")
}
instead.
that uses it should be changed. For Python 2.2 and later, the method
definition table can specify the
\constant
{
METH
_
NOARGS
}
flag, signalling that there are no arguments, and
the argument checking can then be removed. If compatibility with
pre-2.2 versions of Python is important, the code could use
\code
{
PyArg
_
ParseTuple(args, "")
}
instead, but this will be slower
than using
\constant
{
METH
_
NOARGS
}
.
\item
A new function,
\cfunction
{
PyObject
_
DelItemString(
\var
{
mapping
}
,
char *
\var
{
key
}
)
}
was added
...
...
@@ -721,7 +725,7 @@ as well as \UNIX.
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Michael Chermside, Scott David Daniels, Fred~L. Drake, Jr.,
Michael Hudson, Detlef Lannert,
Andrew MacIntyre, Gustavo Niemeyer
,
Neal Norwitz.
Michael Hudson, Detlef Lannert,
Martin von L
\"
owis, Andrew MacIntyre
,
Gustavo Niemeyer,
Neal Norwitz.
\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