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
76192ee4
Kaydet (Commit)
76192ee4
authored
Şub 06, 2001
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Support older PYTHON_API_VERSIONs for backwards compatibility.
üst
fe28ca09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Setup.dist
Modules/Setup.dist
+1
-3
pyexpat.c
Modules/pyexpat.c
+7
-2
No files found.
Modules/Setup.dist
Dosyayı görüntüle @
76192ee4
...
...
@@ -151,9 +151,7 @@ GLHACK=-Dclear=__GLclear
#_codecs _codecsmodule.c # access to the builtin codecs and codec registry
#_testcapi _testcapimodule.c # Python C API test module
#unicodedata unicodedata.c unicodedatabase.c
# static Unicode character database
#ucnhash ucnhash.c # Unicode Character Name expansion hash table
#unicodedata unicodedata.c # static Unicode character database
#_locale _localemodule.c # access to ISO C locale support
...
...
Modules/pyexpat.c
Dosyayı görüntüle @
76192ee4
...
...
@@ -257,8 +257,10 @@ getcode(enum HandlerTypes slot, char* func_name, int lineno)
nulltuple
,
/* consts */
nulltuple
,
/* names */
nulltuple
,
/* varnames */
#if PYTHON_API_VERSION >= 1010
nulltuple
,
/* freevars */
nulltuple
,
/* cellvars */
#endif
filename
,
/* filename */
name
,
/* name */
lineno
,
/* firstlineno */
...
...
@@ -290,8 +292,11 @@ call_with_frame(PyCodeObject *c, PyObject* func, PyObject* args)
tstate
,
/*back*/
c
,
/*code*/
tstate
->
frame
->
f_globals
,
/*globals*/
NULL
,
/*locals*/
NULL
);
/* closure */
NULL
/*locals*/
#if PYTHON_API_VERSION >= 1010
,
NULL
/*closure*/
#endif
);
if
(
f
==
NULL
)
return
NULL
;
tstate
->
frame
=
f
;
...
...
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