Re: [Python-ideas] Passive tracing of function objects (was: Efficient debug logging)

2017-02-15 Thread C Anthony Risinger
On Wed, Feb 15, 2017 at 10:45 AM, C Anthony Risinger wrote: > On Tue, Feb 14, 2017 at 3:55 PM, Barry wrote: >> >> >> The point is that the cost of creating the msg argument can be very high. >> >> At the point that logging decides to skip output it is to

[Python-ideas] Passive tracing of function objects (was: Efficient debug logging)

2017-02-15 Thread C Anthony Risinger
On Tue, Feb 14, 2017 at 3:55 PM, Barry wrote: > > > The point is that the cost of creating the msg argument can be very high. > > At the point that logging decides to skip output it is to late to save the > cost of creating the arg tuple. > Awhile back I was playing with