old_contents: from pika.spec import \
      BasicProperties
  from pika.connection import \
      PlainCredentials, \
      ConnectionParameters, \
      SimpleReconnectionStrategy
  
  import pika.asyncore_adapter
  from pika.asyncore_adapter import \
      AsyncoreConnection
  asyncore_loop = pika.asyncore_adapter.loop
  
  from pika.blocking_adapter import \
      BlockingConnection
  
new_contents: from pika.spec import \
      BasicProperties
  from pika.connection import \
      PlainCredentials, \
      ConnectionParameters, \
      SimpleReconnectionStrategy
  
  import pika.asyncore_adapter
  from pika.asyncore_adapter import \
      AsyncoreConnection
  asyncore_loop = pika.asyncore_adapter.loop
  
  from pika.blocking_adapter import \
      BlockingConnection
  
  def repl_channel(host = '127.0.0.1', *args):
      return BlockingConnection(ConnectionParameters(host, *args)).channel()
  
subject: Add convenience repl_channel function.