On Fri, Nov 19, 2010 at 20:01, benjamin.peterson <python-check...@python.org > wrote:
> Author: benjamin.peterson > Date: Sat Nov 20 03:01:45 2010 > New Revision: 86540 > > Log: > c89 declarations > > Modified: > python/branches/py3k/Parser/asdl_c.py > python/branches/py3k/Python/Python-ast.c > > Modified: python/branches/py3k/Parser/asdl_c.py > > ============================================================================== > --- python/branches/py3k/Parser/asdl_c.py (original) > +++ python/branches/py3k/Parser/asdl_c.py Sat Nov 20 03:01:45 2010 > @@ -366,9 +366,9 @@ > self.emit("obj2ast_%s(PyObject* obj, %s* out, PyArena* arena)" % > (name, ctype), 0) > self.emit("{", 0) > self.emit("PyObject* tmp = NULL;", 1) > + self.emit("int isinstance;", 1) > # Prevent compiler warnings about unused variable. > self.emit("tmp = tmp;", 1) > - self.emit("int isinstance;", 1) > self.emit("", 0) > > def sumTrailer(self, name, add_label=False): > > Modified: python/branches/py3k/Python/Python-ast.c > > ============================================================================== > --- python/branches/py3k/Python/Python-ast.c (original) > +++ python/branches/py3k/Python/Python-ast.c Sat Nov 20 03:01:45 2010 > @@ -3375,8 +3375,8 @@ > obj2ast_mod(PyObject* obj, mod_ty* out, PyArena* arena) > { > PyObject* tmp = NULL; > - tmp = tmp; > int isinstance; > + tmp = tmp; Windows builds fail due to this change.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com