From: Anthony Baxter Date: Mon, 2 Aug 2004 11:08:15 +0000 (+0000) Subject: fix for @decorators under a debug build. X-Git-Tag: v2.4a2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e7785aa4fd8da93ca28c2e7a2b36a167d32b877;p=python fix for @decorators under a debug build. --- diff --git a/Python/compile.c b/Python/compile.c index 337cc2ef02..0b5ba6cd38 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -4025,6 +4025,7 @@ com_decorator_name(struct compiling *c, node *n) varname = CHILD(n, 0); REQ(varname, NAME); com_addop_varname(c, VAR_LOAD, STR(varname)); + com_push(c, 1); for (i = 1; i < nch; i += 2) { node *attrname;