26 Feb
2004
26 Feb
'04
1:26 p.m.
On Thu, 2004-02-26 at 04:20, Moore, Paul wrote:
Heck, by the time most people will need the full power of the wrapping feature [1], they will probably know enough to understand the C code of the patch itself! It's pretty advanced usage, remember...
[1] Except for extremely stylised cases like [classmethod], which will be for particular use cases - and you can look that one up under "classmethod"...
Nothing in PEP 318 is going to make the current way of wrapping illegal, so I would think that a beginning class might make life simpler by first teaching the post-method wrapping idiom. They might then explain how there's this neat (more advanced) decorator syntax for making things more succinct. -Barry