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
08995a33
Kaydet (Commit)
08995a33
authored
Eki 07, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
üst
bc4bdbd6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
NEWS
Misc/NEWS
+3
-0
asdl_c.py
Parser/asdl_c.py
+7
-0
Python-ast.c
Python/Python-ast.c
+0
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
08995a33
...
...
@@ -10,6 +10,9 @@ What's New in Python 2.7.13?
Core and Builtins
-----------------
- Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
- Issue #28350: String constants with null character no longer interned.
- Issue #27942: String constants now interned recursively in tuples and frozensets.
...
...
Parser/asdl_c.py
Dosyayı görüntüle @
08995a33
...
...
@@ -513,6 +513,13 @@ class Obj2ModVisitor(PickleVisitor):
self
.
emit
(
"res = obj2ast_
%
s(PyList_GET_ITEM(tmp, i), &value, arena);"
%
field
.
type
,
depth
+
2
,
reflow
=
False
)
self
.
emit
(
"if (res != 0) goto failed;"
,
depth
+
2
)
self
.
emit
(
"if (len != PyList_GET_SIZE(tmp)) {"
,
depth
+
2
)
self
.
emit
(
"PyErr_SetString(PyExc_RuntimeError,
\"
%
s field
\\\"
%
s
\\\"
"
"changed size during iteration
\"
);"
%
(
name
,
field
.
name
),
depth
+
3
,
reflow
=
False
)
self
.
emit
(
"goto failed;"
,
depth
+
3
)
self
.
emit
(
"}"
,
depth
+
2
)
self
.
emit
(
"asdl_seq_SET(
%
s, i, value);"
%
field
.
name
,
depth
+
2
)
self
.
emit
(
"}"
,
depth
+
1
)
else
:
...
...
Python/Python-ast.c
Dosyayı görüntüle @
08995a33
This diff is collapsed.
Click to expand it.
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