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
33c722b7
Kaydet (Commit)
33c722b7
authored
Kas 04, 2010
tarafından
Jesus Cea
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CObject use is marked as a Py3k warning, not a deprecation warning
üst
db31a35a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
Misc/NEWS
+3
-0
cobject.c
Objects/cobject.c
+1
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
33c722b7
...
@@ -25,6 +25,9 @@ Core and Builtins
...
@@ -25,6 +25,9 @@ Core and Builtins
- Issue #9862: Compensate for broken PIPE_BUF in AIX by hard coding
- Issue #9862: Compensate for broken PIPE_BUF in AIX by hard coding
its value as the default 512 when compiling on AIX.
its value as the default 512 when compiling on AIX.
- Issue #9675: CObject use is marked as a Py3k warning, not a deprecation
warning.
- Issue #10068: Global objects which have reference cycles with their module's
- Issue #10068: Global objects which have reference cycles with their module's
dict are now cleared again. This causes issue #7140 to appear again.
dict are now cleared again. This causes issue #7140 to appear again.
...
...
Objects/cobject.c
Dosyayı görüntüle @
33c722b7
...
@@ -11,8 +11,7 @@ typedef void (*destructor2)(void *, void*);
...
@@ -11,8 +11,7 @@ typedef void (*destructor2)(void *, void*);
static
int
cobject_deprecation_warning
(
void
)
static
int
cobject_deprecation_warning
(
void
)
{
{
return
PyErr_WarnEx
(
PyExc_PendingDeprecationWarning
,
return
PyErr_WarnPy3k
(
"CObject type is not supported in 3.x. "
"The CObject type is marked Pending Deprecation in Python 2.7. "
"Please use capsule objects instead."
,
1
);
"Please use capsule objects instead."
,
1
);
}
}
...
...
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