[Python-Dev] Decorator order implemented backwards?

Brett C. bac at OCF.Berkeley.EDU
Sun Aug 15 09:22:18 CEST 2004


Mark Russell wrote:

[SNIP - stuff about the order]
> I'll do a patch to fix the order and the corresponding tests.
> 

I hope I am not stepping on Mark's toes but I went ahead and fixed it to 
be bottom-up like the PEP.  Applied as rev. 2.318 for Python/compile.c 
and rev. 1.4 for Lib/test/test_decorators.py (rewrote the order test to 
not rely on causing an error to signify an error to but actually lead to 
a failure).

I did not make any changes to to force decorators on to a single line, 
though.  Mark can still have that one.  =)

-Brett


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant