title: python multiprocessing with boolean and multiple arguments
body: <p>I have a function that takes multiple arguments, some of which are boolean. I'm trying to pass this to the multiprocessing <code>pool.apply_async</code> and want to pass some args with the names attached. </p>
  
  <p>Here's an example script that I'm working with:</p>
  
  <pre><code>from multiprocessing import Pool
  
      def testFunc(y, x, calcY=True):
          if calcY == True:
              return y*y
          elif calcY == False:
              return x*x
  
      if __name__ == "__main__":
          p = Pool()
          res = p.apply_async(testFunc, args = (2, 4, False))
          print res.get()
  </code></pre>
  
  <p>This works, but I'm curious about changing the <code>res = p.apply_async(testFunc, args = (2, 4, False))</code> to something like:</p>
  
  <pre><code>res = p.apply_async(testFunc, args = (2, 4, calcY = False))
  </code></pre>