Python atomic operation extension module.