top | item 10215517

(no title)

theVirginian | 10 years ago

This type of article seems to be a right of passage from basic to upper-level/intermediate understanding of Python. Where it really gets crazy is if you are making decorators that take parameters and in turn call decorated functions from within their block. You can do some really crazy stuff, even decorate classes.

I would like to see some more articles on Python metaclasses as I think that could benefit a lot of people.

discuss

order

squidbidness|10 years ago

Just FYI, The expression is "rite of passage."

theVirginian|10 years ago

Whoops, thanks. My phone doesn't like that word apparently