[Python-Dev] bug in PEP 318

2006-05-30 Thread Alexander Bernauer
Hi I found two bugs in example 4 of the PEP 318 [1]. People on #python pointed me to this list. So here is my report. Additionally I appended an afaics correct implementation for this task. [1] http://www.python.org/dev/peps/pep-0318/ Bug 1) The decorator accepts gets the function which is

Re: [Python-Dev] bug in PEP 318

2006-05-30 Thread Phillip J. Eby
At 08:56 PM 5/30/2006 +0200, Alexander Bernauer wrote: Hi I found two bugs in example 4 of the PEP 318 [1]. People on #python pointed me to this list. So here is my report. Additionally I appended an afaics correct implementation for this task. [1] http://www.python.org/dev/peps/pep-0318/ Bug