Producer consumer for Python.