This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients alex-ulnv, jaraco, lisroach
Date 2019-09-11.10:29:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568197750.14.0.869044871534.issue38054@roundup.psfhosted.org>
In-reply-to
Content
You could just do

breakpoint() if trigger else None

Concise, easy, and avoids complicating set_trace().
History
Date User Action Args
2019-09-11 10:29:10jaracosetrecipients: + jaraco, lisroach, alex-ulnv
2019-09-11 10:29:10jaracosetmessageid: <1568197750.14.0.869044871534.issue38054@roundup.psfhosted.org>
2019-09-11 10:29:10jaracolinkissue38054 messages
2019-09-11 10:29:10jaracocreate