KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
decorator
44 questions
Follow Tag
Sort by:
Newest
Votes
Active
11
votes
4
answers
Decorator error: NoneType object is not callable
python
python-2.7
decorator
python-decorators
asked 2013-01-26T10:53:47.217
22
votes
2
answers
Python - can I programmatically decorate class methods from a class instance?
python
decorator
class-method
asked 2012-12-30T23:05:20.527
32
votes
2
answers
Difference between Decorator pattern and Delegation pattern
java
design-patterns
decorator
delegation
asked 2012-11-15T00:02:52.697
11
votes
3
answers
fix pyflakes dealing with @property setter decorator
python
properties
decorator
python-decorators
pyflakes
asked 2012-09-24T10:48:47.450
18
votes
3
answers
Python closure function losing outer variable access
python
closures
decorator
asked 2012-08-29T16:04:32.103
9
votes
2
answers
Why does decorating a class break the descriptor protocol, thus preventing staticmethod objects from behaving as expected?
python
python-2.7
decorator
asked 2012-06-24T19:53:57.627
11
votes
3
answers
Is there a pythonic way to support keyword arguments for a memoize decorator in Python?
python
caching
decorator
memoization
asked 2012-06-06T18:41:58.180
11
votes
4
answers
add method to a class dynamically with decorator
python
methods
decorator
asked 2012-02-25T11:50:36.197
8
votes
7
answers
Is this a decorator or a strategy pattern, or neither of the two?
java
design-patterns
decorator
strategy-pattern
asked 2012-01-24T08:19:12.720
34
votes
1
answers
Ninject dependency injection with Decorator pattern
.net
inversion-of-control
ninject
decorator
asked 2012-01-18T13:01:11.990
16
votes
2
answers
How to test Python function decorators?
python
unit-testing
decorator
asked 2011-11-02T16:19:44.930
9
votes
4
answers
function definition inside another function definition -slow?
python
performance
function
closures
decorator
asked 2011-10-19T15:12:47.137
12
votes
2
answers
Python decorators: how to use parent class decorators in a child class
python
decorator
asked 2011-09-19T15:10:42.143
11
votes
3
answers
Writing a class decorator that applies a decorator to all methods
python
decorator
asked 2011-07-14T15:33:32.427
11
votes
5
answers
Accessing function arguments from decorator
python
google-app-engine
decorator
asked 2011-06-24T15:26:21.007
64
votes
8
answers
Use Cases and Examples of GoF Decorator Pattern for IO
java
.net
design-patterns
io
decorator
asked 2011-06-16T02:05:52.627
772
votes
24
answers
Decorators with parameters?
python
function
parameters
arguments
decorator
asked 2011-05-08T17:40:08.867
30
votes
6
answers
A decorator that profiles a method call and logs the profiling result
python
profiling
decorator
asked 2011-03-21T09:11:57.973
9
votes
3
answers
Decorating a class method after @property
python
metaclass
decorator
asked 2011-02-07T16:29:31.770
86
votes
6
answers
Decorator pattern versus sub classing
design-patterns
decorator
asked 2011-01-30T12:52:27.340
10
votes
7
answers
How to auto generate Decorator pattern in C#
c#
design-patterns
decorator
asked 2010-12-08T08:52:33.157
16
votes
2
answers
How do I catch an exception in a decorator but allow the caller to catch it as well?
python
exception
decorator
asked 2010-11-22T20:29:46.117
34
votes
3
answers
How to apply decorators to lambdas?
python
syntax
lambda
decorator
asked 2010-11-08T16:38:15.457
79
votes
14
answers
Making decorators with optional arguments
python
wrapper
decorator
asked 2010-10-08T06:22:21.107
23
votes
4
answers
How much overhead do decorators add to Python function calls
python
performance
decorator
asked 2010-08-23T08:06:08.830
13
votes
3
answers
Generating dictionary keys on the fly
python
dictionary
decorator
asked 2010-08-04T11:34:23.243
26
votes
2
answers
Python Decorators and inheritance
python
inheritance
decorator
asked 2010-06-08T20:42:40.370
10
votes
4
answers
dynamically decorating objects in c#
c#
decorator
asked 2010-04-29T16:54:37.723
48
votes
2
answers
What is the difference between a mixin and the decorator pattern?
language-agnostic
decorator
mixins
asked 2010-04-06T02:16:02.197
264
votes
8
answers
decorators in the python standard lib (@deprecated specifically)
python
decorator
deprecated
asked 2010-03-29T07:14:57.503
14
votes
4
answers
bridge pattern vs. decorator pattern
c++
design-patterns
decorator
bridge
asked 2010-02-12T19:28:29.000
110
votes
3
answers
Determining if root logger is set to DEBUG level in Python?
python
logging
decorator
python-logging
asked 2009-12-31T23:24:06.093
69
votes
4
answers
Python decorator handling docstrings
python
decorator
docstring
asked 2009-11-23T12:24:39.197
26
votes
4
answers
Python logging using a decorator
python
logging
introspection
decorator
asked 2009-10-30T09:02:59.557
15
votes
6
answers
How can make Django permission_required decorator not to redirect already logged-in users to login page, but display some message
django
decorator
django-authentication
asked 2009-08-09T10:59:29.230
10
votes
6
answers
How can I use a class instance variable as an argument for a method decorator in Python?
python
decorator
asked 2009-08-05T08:49:25.090
100
votes
10
answers
How to strip decorators from a function in Python
python
decorator
asked 2009-07-22T15:29:41.593
80
votes
6
answers
ASP.NET MVC Routing Via Method Attributes
asp.net-mvc
routes
url-routing
decorator
asked 2009-05-21T19:50:01.020
75
votes
11
answers
Why would I ever use a Chain of Responsibility over a Decorator?
oop
design-patterns
decorator
chain-of-responsibility
asked 2009-04-14T14:38:18.350
25
votes
7
answers
Is it possible to replace a Python function/method decorator at runtime?
python
runtime
language-features
decorator
asked 2009-03-13T13:42:33.543
81
votes
4
answers
Python - what are all the built-in decorators?
python
decorator
asked 2009-01-26T15:34:47.737
1065
votes
7
answers
What does functools.wraps do?
python
decorator
functools
asked 2008-11-21T14:53:40.610
16
votes
3
answers
Why do we need the decorator in the decorator design pattern?
java
design-patterns
decorator
asked 2008-11-07T23:06:42.920
22
votes
4
answers
Why Python decorators rather than closures?
python
decorator
asked 2008-10-18T23:07:28.940