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
41829e82
Kaydet (Commit)
41829e82
authored
May 15, 2012
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document f4d7ad6c9d6e.
üst
cc10a37e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
Misc/NEWS
+2
-0
Python-ast.c
Python/Python-ast.c
+2
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
41829e82
...
@@ -10,6 +10,8 @@ What's New in Python 3.3.0 Alpha 4?
...
@@ -10,6 +10,8 @@ What's New in Python 3.3.0 Alpha 4?
Core and Builtins
Core and Builtins
-----------------
-----------------
- asdl_seq and asdl_int_seq are now Py_ssize_t sized.
- Issue #14133 (PEP 415): Implement suppression of __context__ display with an
- Issue #14133 (PEP 415): Implement suppression of __context__ display with an
attribute on BaseException. This replaces the original mechanism of PEP 409.
attribute on BaseException. This replaces the original mechanism of PEP 409.
...
...
Python/Python-ast.c
Dosyayı görüntüle @
41829e82
...
@@ -636,7 +636,7 @@ static int add_attributes(PyTypeObject* type, char**attrs, int num_fields)
...
@@ -636,7 +636,7 @@ static int add_attributes(PyTypeObject* type, char**attrs, int num_fields)
static
PyObject
*
ast2obj_list
(
asdl_seq
*
seq
,
PyObject
*
(
*
func
)(
void
*
))
static
PyObject
*
ast2obj_list
(
asdl_seq
*
seq
,
PyObject
*
(
*
func
)(
void
*
))
{
{
Py_ssize_
t
i
,
n
=
asdl_seq_LEN
(
seq
);
in
t
i
,
n
=
asdl_seq_LEN
(
seq
);
PyObject
*
result
=
PyList_New
(
n
);
PyObject
*
result
=
PyList_New
(
n
);
PyObject
*
value
;
PyObject
*
value
;
if
(
!
result
)
if
(
!
result
)
...
@@ -2857,7 +2857,7 @@ ast2obj_expr(void* _o)
...
@@ -2857,7 +2857,7 @@ ast2obj_expr(void* _o)
goto
failed
;
goto
failed
;
Py_DECREF
(
value
);
Py_DECREF
(
value
);
{
{
Py_ssize_
t
i
,
n
=
asdl_seq_LEN
(
o
->
v
.
Compare
.
ops
);
in
t
i
,
n
=
asdl_seq_LEN
(
o
->
v
.
Compare
.
ops
);
value
=
PyList_New
(
n
);
value
=
PyList_New
(
n
);
if
(
!
value
)
goto
failed
;
if
(
!
value
)
goto
failed
;
for
(
i
=
0
;
i
<
n
;
i
++
)
for
(
i
=
0
;
i
<
n
;
i
++
)
...
...
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