The following used to work around six months ago on sagenb.org:
var('x')
var('t')
( x/((4*x - 1)*(t^2 - t + x)) ).maxima_methods().residue(t,(1-sqrt(1-4*x))/2)
but now it returns zero which is incorrect. Can anybody help me get the correct answer again?