[Twisted-Python] Re: [Twisted-commits] r20094 - Add a spewing decorator which stores all of the function and method calls

Jean-Paul Calderone exarkun at divmod.com
Sun Apr 29 20:30:50 MDT 2007


On Mon, 30 Apr 2007 09:04:24 +1000, Jonathan Lange <jml at mumak.net> wrote:
>On 4/29/07, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>On Sat, 28 Apr 2007 23:37:57 -0600, Jonathan Lange 
>><jml at wolfwood.twistedmatrix.com> wrote:
>> >Author: jml
>> >Date: Sat Apr 28 23:37:56 2007
>> >New Revision: 20094
>> >
>> >Modified:
>> >   branches/spew-decorator/twisted/python/util.py
>> >   branches/spew-decorator/twisted/test/test_util.py
>> >
>> >Log:
>> >Add a spewing decorator which stores all of the function and method calls
>> >within a function in a structured data object.
>> >
>>
>>What ticket is this associated with?
>
>None, as yet.

I guess we should avoid having branches without tickets.  There's still the
sandbox to develop stuff where the direction is uncertain.

>>Also, there is already an improved spew function in Epsilon which does nice
>>things like track call depth and exception propagation and call arguments.
>
>Should it go into Twisted?
>

I don't have any problem with it going into Twisted, and if you're
looking for more informative spewage, it's definitely handy.

I would suggest it unequivocally, but it has no unit tests (it's pretty
old).  It's probably salvageable, but even if it not, it should at least
suggest some useful things.

Jean-Paul




More information about the Twisted-Python mailing list