On Tue, Apr 24, 2018 at 08:10:49PM -0500, Tim Peters wrote: > Binding expressions are debugger-friendly in that they _don't_ just > vanish without a trace. It's their purpose to _capture_ the values of > the expressions they name. Indeed, you may want to add them all over > the place inside expressions, never intending to use the names, just > so that you can see otherwise-ephemeral intra-expression results in > your debugger ;-)
That's a fantastic point and I'm surprised nobody has thought of it until now (that I've seen). Chris, if you're still reading this and aren't yet heartedly sick and tired of the PEP *wink* this ought to go in as another motivating point. -- Steve _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com