code: def __init__(self, r, w):
      # open('/tmp/pp.debug', 'a+').write(repr((r,w))+'\n')
      self.scache = {}
      self.exiting = False
      if isinstance(r, ppc.file) and isinstance(w, ppc.file):
          self.r = r
          self.w = w
      else:
          raise TypeError(
              "Both arguments of PipeTransport constructor "
              "must be file objects"
          )
      if hasattr(self.w, "buffer"):
          self.wb = self.w.buffer
          self.has_wb = True
      else:
          self.wb = self.w
          self.has_wb = False
      if hasattr(self.r, "buffer"):
          self.rb = self.r.buffer
          self.has_rb = True
      else:
          self.rb = self.r
          self.has_rb = False
  
imports: import logging
  import os
  import socket
  import struct
  import hashlib
  from .None import common
label_desc: Use image node_id 1 to create a new PipeTransport object from inherited base classes: Transport with example: obj = PipeTransport(r, w)