From a4a697b69cbddbd03a5db410a3bcaac52c2afb85 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Fri, 22 Apr 2011 14:06:55 +0200 Subject: Decorator 3.3.1: micro-fixes for compatibility with Python 3.2. --- CHANGES.txt | 4 +- Makefile | 2 +- documentation.html | 320 +++++------ documentation.pdf | 1527 +++++++++++++++++++++++++-------------------------- documentation.py | 10 +- documentation3.html | 346 ++++++------ documentation3.pdf | 842 ++++++++++++++-------------- documentation3.py | 14 +- index.html | 51 +- src/decorator.py | 4 +- 10 files changed, 1548 insertions(+), 1572 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index a3a17f7..d5488ad 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,7 +2,9 @@ HISTORY ---------- 3.3.1 Fixed a doctest broken for Python 3.2, as noted by - Arfrever Frehtes Taifersar Arahesis (11/04/2011) + Arfrever Frehtes Taifersar Arahesis; changed the name of + the attribute ``undecorated`` to ``__wrapped__`` following the + Python 3.2 convention, as requested by Ram Rachum, (22/04/2011) 3.3. Added support for function annotations (1/1/2011) 3.2.1. Now the .func_globals of the decorated function are the same of the undecorated function, as requested by Paul Ollis (28/12/2010) diff --git a/Makefile b/Makefile index bd53ca0..7987755 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -RST=python /home/micheles/trunk/ROnline/RCommon/Python/ms/tools/rst.py +RST=python $(HOME)/trunk/ROnline/RCommon/Python/ms/tools/rst.py rst: documentation.py documentation3.py python $(HOME)/trunk/ROnline/RCommon/Python/ms/tools/minidoc.py -d documentation.py diff --git a/documentation.html b/documentation.html index 63f2b98..5eac475 100644 --- a/documentation.html +++ b/documentation.html @@ -3,7 +3,7 @@ - + The decorator module