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
79f657c6
Kaydet (Commit)
79f657c6
authored
Mar 03, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
üst
bb569362
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
pyerrors.h
Include/pyerrors.h
+1
-1
NEWS
Misc/NEWS
+6
-0
errors.c
Python/errors.c
+1
-1
No files found.
Include/pyerrors.h
Dosyayı görüntüle @
79f657c6
...
...
@@ -215,7 +215,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErr(PyObject *, int);
/* Export the old function so that the existing API remains available: */
PyAPI_FUNC
(
void
)
PyErr_BadInternalCall
(
void
);
PyAPI_FUNC
(
void
)
_PyErr_BadInternalCall
(
char
*
filename
,
int
lineno
);
PyAPI_FUNC
(
void
)
_PyErr_BadInternalCall
(
c
onst
c
har
*
filename
,
int
lineno
);
/* Mask the old API with a call to the new API for code compiled under
Python 2.0: */
#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
...
...
Misc/NEWS
Dosyayı görüntüle @
79f657c6
...
...
@@ -174,6 +174,12 @@ Build
-
Issue
#
25136
:
Support
Apple
Xcode
7
's new textual SDK stub libraries.
C API
-----
- Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
What'
s
New
in
Python
2.7.11
?
============================
...
...
Python/errors.c
Dosyayı görüntüle @
79f657c6
...
...
@@ -532,7 +532,7 @@ PyObject *PyErr_SetFromWindowsErrWithUnicodeFilename(
#endif
/* MS_WINDOWS */
void
_PyErr_BadInternalCall
(
char
*
filename
,
int
lineno
)
_PyErr_BadInternalCall
(
c
onst
c
har
*
filename
,
int
lineno
)
{
PyErr_Format
(
PyExc_SystemError
,
"%s:%d: bad argument to internal function"
,
...
...
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