On Tue, Apr 24, 2018 at 8:56 PM, Tim Peters firstname.lastname@example.org wrote:
It would actually be quite convenient, and far less error-prone, to add a binding construct inside a complicated expression for purposes of running under a debugger. The alternative is typing the sub-expression(s) of interest by hand at the debugger prompt, or adding print()s, both of which are prone to introducing typos, or changing results radically due to triggering side effects in the code invoked by the duplicated sub-expression(s). Adding a binding construct wouldn't change anything about how the code worked (apart from possibly clobbering a local name).
I thought this was what q was for :-)
-- Nathaniel J. Smith -- https://vorpus.org