PyDict constructor for any Associative
add support for passing Julia functions to Python as callbacks