[Python-Dev] 2.4a2, and @decorators

Walter Dörwald walter at livinglogic.de
Mon Aug 2 11:24:11 CEST 2004


Anthony Baxter wrote:

> The @decorator patch has been landed on the trunk, after
> getting the go-ahead from the BDFL. I'll update PEP-0318
> with the final syntax in the next day or so.
> 
> We're aiming for 2.4a2 this Thursday - so can people please
> hold off on checking into the trunk from Wednesday evening
> onwards, please.
> 
> At the moment, I'm guessing we're going to have a 2.4a3 in
> a couple of weeks.

I'm getting the following assertion from a debug build:

Python 2.4a1+ (#1, Aug  2 2004, 11:21:35)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-113)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> @staticmethod
... def x():
...  pass
...
python: Python/ceval.c:868: PyEval_EvalFrame: Assertion `(stack_pointer 
- f->f_valuestack) <= f->f_stacksize' failed.
Aborted

Bye,
    Walter Dörwald



More information about the Python-Dev mailing list