well this module is hugely useful. invoke the REPL where you need it while you’re debugging something gnarly. for some reason, i’ve never quite grokked the use of pdb. i stumbled on this gem via this article.
a very interesting article on splitting the protocol from the network plumbing (read, socket() interaction) in a library implementation - all of this is done using python 3 w/async i-o. really interesting approach. networks of reinvention, david beazley (;login:) - issue: fall 2016, vol. 41, no. 3 (personal copy)