answered 5 years ago
This should work (since forever?). On 9.0:
sage: R.<x>=GF(5)[] sage: f=x^2 sage: f(5) 0 sage: f(5).parent() is GF(5) True
What version of SageMath are you using?