Re:Understanding Python Decorators
by SoftwareMaven on Monday August 08, 2011 @12:50AM
(#2858834)
I do. The people who don't are thinking from the implementor perspective instead of the user perspective.
I had a permission checking decorator that I allowed both syntaxes (the default permission check and a mre fine-grained check). The flaw makes for an ugly implementation.
I had a permission checking decorator that I allowed both syntaxes (the default permission check and a mre fine-grained check). The flaw makes for an ugly implementation.