pynac
pynac copied to clipboard
OS X + py3 issue
This is with pynac 0.7.26, Sage 8.9.rc0. With a Python 3 build of Sage on OS X, there is an intermittent error:
sage: alg = QQbar(I); gcd(x, alg)
...
TypeError: unsupported operand parent(s) for +: 'Algebraic Real Field' and 'Number Field in i with defining polynomial x^2 + 1'
See also https://trac.sagemath.org/ticket/28489.
I have only seen this on OS X, and only with a Python 3 build of Sage. When I say "intermittent," I mean that it appears at least 1-2 times for every 10 times I start Sage. Within a given Sage session, the behavior is consistent: it either always works or always produces this error. I am not a pynac expert; any advice for debugging this?
See also Sage Trac ticket 28827.