mirror of
https://github.com/python/cpython.git
synced 2025-10-30 13:11:29 +00:00
[ 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) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ast.py | ||
| consts.py | ||
| future.py | ||
| misc.py | ||
| pyassem.py | ||
| pycodegen.py | ||
| symbols.py | ||
| syntax.py | ||
| transformer.py | ||
| visitor.py | ||