python new_from_memory()/write_to_memory() done