From b797bd5c7146400447378c3b6f0dba6d2aa03c05 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. --- decorator/CHANGES.txt | 4 +- decorator/Makefile | 2 +- decorator/documentation.html | 320 ++++----- decorator/documentation.pdf | 1527 ++++++++++++++++++++--------------------- decorator/documentation.py | 10 +- decorator/documentation3.html | 346 +++++----- decorator/documentation3.pdf | 842 +++++++++++------------ decorator/documentation3.py | 14 +- decorator/index.html | 51 +- decorator/src/decorator.py | 4 +- 10 files changed, 1548 insertions(+), 1572 deletions(-) diff --git a/decorator/CHANGES.txt b/decorator/CHANGES.txt index a3a17f7..d5488ad 100644 --- a/decorator/CHANGES.txt +++ b/decorator/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/decorator/Makefile b/decorator/Makefile index bd53ca0..7987755 100644 --- a/decorator/Makefile +++ b/decorator/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/decorator/documentation.html b/decorator/documentation.html index 63f2b98..5eac475 100644 --- a/decorator/documentation.html +++ b/decorator/documentation.html @@ -3,7 +3,7 @@ - + The decorator module