lvh / minitrue

A proxy designed to lie.
ISC License
25 stars 3 forks source link

minitrue.misdirection.affect* should work on arbitrary manglers, not misdirectors #2

Open lvh opened 13 years ago

lvh commented 13 years ago

This behavior is useful for other kinds of manglers, too.

lvh commented 13 years ago

This would break the API.

@misdirector
@affect...
@affect...
def f(...):

Would have to become:

@affect...
@affect...
@misdirector
def f(...):

... due to the order decorators are applied in.