]> granicus.if.org Git - python/commit
This is Mark Russell's patch:
authorMichael W. Hudson <mwh@python.net>
Tue, 17 Aug 2004 17:29:16 +0000 (17:29 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 17 Aug 2004 17:29:16 +0000 (17:29 +0000)
commit0ccff074cd806bc7e963a1e0ff6ce25e0d11cce9
treec8e7be65d3051aa878fe53169b9bdeb4d3b4227e
parentb51b23405b6cf82ab4ec20f3d5ef4b895bd0786f
This is Mark Russell's patch:

1009560 ] Fix @decorator evaluation order

From the description:

Changes in this patch:

- Change Grammar/Grammar to require
newlines between adjacent decorators.

- Fix order of evaluation of decorators
in the C (compile.c) and python
(Lib/compiler/pycodegen.py) compilers

- Add better order of evaluation check
to test_decorators.py (test_eval_order)

- Update the decorator documentation in
the reference manual (improve description
of evaluation order and update syntax
description)

and the comment:

Used Brett's evaluation order (see
http://mail.python.org/pipermail/python-dev/2004-August/047835.html)

(I'm checking this in for Anthony who was having problems getting SF to
talk to him)
Doc/ref/ref7.tex
Grammar/Grammar
Lib/compiler/pycodegen.py
Lib/compiler/transformer.py
Lib/test/test_decorators.py
Modules/parsermodule.c
Python/compile.c
Python/graminit.c