Commit 41829e82 authored by Martin v. Löwis's avatar Martin v. Löwis

Document f4d7ad6c9d6e.

parent cc10a37e
...@@ -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.
......
...@@ -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); int 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); int 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++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment