在创建我需要的实际应用程序之前,我试图对此有一个基本的了解。我最近从2.7转移到了3.3。thiscodefromthepythondocs的直接复制粘贴失败,来自here的一个稍微简单的例子也是如此.这是我的代码,源自第二个示例:importconcurrent.futuresnums=[1,2,3,4,5,6,7,8,9,10]deff(x):returnx*x#Makesurethemapandfunctionareworkingprint([valforvalinmap(f,nums)])#Testtomakesureconcurrentmapisworkingwithconc