Just to follow up on this thread, for interested readers' future reference...
On Tue, Apr 21, 2015 at 4:22 PM, Robert Kern robert.k...@gmail.com wrote:
On Tue, Apr 21, 2015 at 8:02 PM, Rob Clewley rob.clew...@gmail.com wrote:
In fact, I'm trying to build a general purpose tool for exploring the
On Tue, Apr 21, 2015 at 1:02 PM, Rob Clewley rob.clew...@gmail.com wrote:
I don't think the built-in logger is sophisticated enough for this,
being a flat record of freeform text AFAIU, but the API looks
appealing.
It doesn't have to be a flat record. You can write a custom a Handler
that does
Hi,
I'm in need of a system for logging the step-wise results and
diagnostic metadata about a python function implementation of an
algorithm that I'm developing. The specific algorithm is not of great
consequence except that it's for scientific computing and may produce
large (e.g., '00s or maybe
All of these ideas and links are very helpful, thank you!
-Rob
--
https://mail.python.org/mailman/listinfo/python-list
On 21/04/2015 21:22, Robert Kern wrote:
On Tue, Apr 21, 2015 at 8:02 PM, Rob Clewley rob.clew...@gmail.com wrote:
Hi,
I'm in need of a system for logging the step-wise results and
diagnostic metadata about a python function implementation of an
algorithm that I'm developing. The specific
On Tue, Apr 21, 2015 at 8:02 PM, Rob Clewley rob.clew...@gmail.com wrote:
Hi,
I'm in need of a system for logging the step-wise results and
diagnostic metadata about a python function implementation of an
algorithm that I'm developing. The specific algorithm is not of great
consequence
On 22Apr2015 10:50, Chris Angelico ros...@gmail.com wrote:
On Wed, Apr 22, 2015 at 10:11 AM, Cameron Simpson c...@zip.com.au wrote:
I have a context manager named Pfx which I use liberally in my code like
this:
from cs.logutils import Pfx, info
def load(filename):
with Pfx(loading %r,
On Wed, Apr 22, 2015 at 10:11 AM, Cameron Simpson c...@zip.com.au wrote:
I have a context manager named Pfx which I use liberally in my code like
this:
from cs.logutils import Pfx, info
def load(filename):
with Pfx(loading %r, filename):
with open(filename) as fp:
lineno
On 21Apr2015 16:46, Rob Clewley rob.clew...@gmail.com wrote:
All of these ideas and links are very helpful, thank you!
Another to add to your list, a be warned that it is baroque.
I have a context manager named Pfx which I use liberally in my code like
this:
from cs.logutils import Pfx,