[Twisted-Python] Bloody Twisted VFS
glyph at divmod.com
glyph at divmod.com
Tue Jul 8 14:32:10 MDT 2008
On 03:12 am, andy at thecablelounge.com wrote:
>On Sun, Jul 6, 2008 at 3:32 AM, Jonathan Lange <jml at mumak.net> wrote:
>>- "Decorators" like "read-only" and "chroot" could prove useful. Is
>>there room in the design for such things?
>
>Yeah, I'm all for flavouring backends with decorators.
>
>That's why I keep trying to sneak this guy through ;)
>
>http://twistedmatrix.com/trac/browser/branches/vfs-async-
>backends-2815/twisted/vfs/_decorator.py
Eehhhhh... I'm glad that name starts with "_" :). It seems like one of
those too-clever-by-half solutions to a relatively simple problem, where
the cleverness will bite you later. Something like... I would do.
The general concept of decorators is really good though.
More information about the Twisted-Python
mailing list