# Revision history [back]

The infinite recursion happens when trying to change the base ring of a polynomial (%debug is your friend)

914             poly = poly.change_ring(new_base_ring)

ipdb> p poly
(1 + O(5^2))*x^2 + (4 + 4*5 + O(5^2))*x + 5 + O(5^3)
ipdb> p new_base_ring
5-adic Field with capped relative precision 3
ipdb> p poly.parent()
Univariate Polynomial Ring in x over 5-adic Unramified Extension Field in a defined by x^2 + x - 4


I have no idea is this makes sense or not.