Jason R. Coombs <[email protected]> added the comment:
You could just do breakpoint() if trigger else None Concise, easy, and avoids complicating set_trace(). ---------- nosy: +jaraco _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue38054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
