In the example
var('f, q, r, h, i, g, x, y, z') eq1 = x^5 - x^4 - 2x^3 + 2x^2 + x - 1 solve(eq1==0,x)
Where, this equation is also equal to (x-1)^3*(x+1)^2, but I obtain the following solution:[x == -1, x == 1]
Let's say that, in any equation, repeated solutions are given by Sage only once.
Then, how can I, in our example, obtain the following complete solution: [x == -1, x == -1, x == 1, x == 1, x == 1] ??