Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2768

locstacktrace 1.0.0 - More precise stack traces

From Rocky Bernstein <rb@dustyfeet.com>
Newsgroups comp.lang.python.announce
Subject locstacktrace 1.0.0 - More precise stack traces
Date 2018-02-17 19:07 -0500
Message-ID <mailman.48.1519045284.2791.python-announce-list@python.org> (permalink)
References <CANCp2gbQJZLszkVpbs57mPwNyDWPS8W4rAy8kNfBY_M6L__ekQ@mail.gmail.com>

Show all headers | View raw


Want to see more precisely where you are or were at in a traceback or
callstack your Python code has several places in a line it could have
errored ? Even if the code was something created at runtime with say
`eval` or `exec` or there is otherwise no source code?

Then this package is for you.

Some examples of the kinds of code this module can disambiguate:



   i / j / k                              # which divide?
   prev[prev[0]]                          # which prev ?
   [e[0] for i in d[j] if got[i] == e[i]] # lots going on here
   exec(some_code % 10, namespace)        # code at runtime

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

locstacktrace 1.0.0 - More precise stack traces Rocky Bernstein <rb@dustyfeet.com> - 2018-02-17 19:07 -0500

csiph-web