Cauchy principal value integral



for what it is worth, commercial macsyma gives, for
integrate(1/x,x,-1,2)

  Principal value   log(2)+2*%pi*%i


but if intanalysis:false$

then it gives

log(2).