#19943: 0^0 in unramified extensions
-------------------------------------+-------------------------------------
Reporter: roed | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-7.1
Component: padics | Resolution:
Keywords: | Merged in:
Authors: David Roe | Reviewers: Aly Deines
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/roed/0_0_in_unramified_extensions| f9839827eb8122dbbd1ae22703c26641d0311d17
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by aly.deines):
* status: needs_review => needs_work
* reviewer: => Aly Deines
Comment:
I don't see why (I haven't looked at this too hard yet), but this patch
causes a ton of doctest failures.
{{{
aly@aly-laptop:~/Sage/sage$ ./sage -t
src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx
Running doctests with ID 2016-03-20-16-07-46-c8092bb0.
Git branch: ticket/19943
Using --optional=ccache,mpir,python2,sage
Doctesting 1 file.
sage -t --warn-long 17.3 src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 73, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z = (1+w)^5; z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[4]>", line
1, in <module>
z = (Integer(1)+w)**Integer(5); z
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 75, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y = z >> 1; y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[5]>", line
1, in <module>
y = z >> Integer(1); y
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 77, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y.valuation()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[6]>", line
1, in <module>
y.valuation()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 79, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y.precision_relative()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[7]>", line
1, in <module>
y.precision_relative()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 81, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y.precision_absolute()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[8]>", line
1, in <module>
y.precision_absolute()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 83, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z - (y << 1)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[9]>", line
1, in <module>
z - (y << Integer(1))
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 94, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z = (1+a)^5; z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[14]>", line
1, in <module>
z = (Integer(1)+a)**Integer(5); z
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 96, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z - 1 - 5*a - 10*a^2 - 10*a^3 - 5*a^4 - a^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[15]>", line
1, in <module>
z - Integer(1) - Integer(5)*a - Integer(10)*a**Integer(2) -
Integer(10)*a**Integer(3) - Integer(5)*a**Integer(4) - a**Integer(5)
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 98, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y = z >> 1; y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[16]>", line
1, in <module>
y = z >> Integer(1); y
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 103, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
a0 = FFA.gen(); A(a0^3)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[19]>", line
1, in <module>
a0 = FFA.gen(); A(a0**Integer(3))
File "sage/structure/parent.pyx", line 1111, in
sage.structure.parent.Parent.__call__
(/home/aly/Sage/sage/src/build/cythonized/sage/structure/parent.c:9828)
return mor._call_(x)
File "sage/structure/coerce_maps.pyx", line 66, in
sage.structure.coerce_maps.DefaultConvertMap._call_
(/home/aly/Sage/sage/src/build/cythonized/sage/structure/coerce_maps.c:3479)
raise
File "sage/structure/coerce_maps.pyx", line 61, in
sage.structure.coerce_maps.DefaultConvertMap._call_
(/home/aly/Sage/sage/src/build/cythonized/sage/structure/coerce_maps.c:3373)
return C._element_constructor(C, x)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 366, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__init__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:5775)
x = sum([poly[i].lift() * (z ** i) for i in range(len(poly))],
parent.zero())
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 109, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z = (1+w)^5; repr(z)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[21]>", line
1, in <module>
z = (Integer(1)+w)**Integer(5); repr(z)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 112, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z = (1+a)^5; repr(z)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[23]>", line
1, in <module>
z = (Integer(1)+a)**Integer(5); repr(z)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 115, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z = (1+w)^5; z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[25]>", line
1, in <module>
z = (Integer(1)+w)**Integer(5); z
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 118, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y = (1+w)^5 - 1; y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[27]>", line
1, in <module>
y = (Integer(1)+w)**Integer(5) - Integer(1); y
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 123, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
z._ntl_rep()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[28]>", line
1, in <module>
z._ntl_rep()
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 125, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y._ntl_rep()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[29]>", line
1, in <module>
y._ntl_rep()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 127, in
sage.rings.padics.padic_ZZ_pX_CA_element
Failed example:
y._ntl_rep_abs()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.padics.padic_ZZ_pX_CA_element[30]>", line
1, in <module>
y._ntl_rep_abs()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 221, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__init__
Failed example:
z = (1+w)^5; z # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__init__[4]>",
line 1, in <module>
z = (Integer(1)+w)**Integer(5); z # indirect doctest
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 850, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._new_c
Failed example:
w^5 + 1 # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._new_c[4]>",
line 1, in <module>
w**Integer(5) + Integer(1) # indirect doctest
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 901, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units
Failed example:
y = 1 + w + O(w^7)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units[5]>",
line 1, in <module>
y = Integer(1) + w + O(w**Integer(7))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 902, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units
Failed example:
z = 1 + w + w^10 + O(w^13)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units[6]>",
line 1, in <module>
z = Integer(1) + w + w**Integer(10) + O(w**Integer(13))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 903, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units
Failed example:
y == z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units[7]>",
line 1, in <module>
y == z
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 926, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
Failed example:
z = (1 + w)^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 927, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
Failed example:
y = ~z; y # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__[5]>",
line 1, in <module>
y = ~z; y # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 929, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
Failed example:
y.parent()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__[6]>",
line 1, in <module>
y.parent()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 931, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
Failed example:
z = z - 1
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__[7]>",
line 1, in <module>
z = z - Integer(1)
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 932, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
Failed example:
~z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__[8]>",
line 1, in <module>
~z
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 947, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field
Failed example:
z = (1 + w)^5; z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5); z
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 949, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field
Failed example:
y = z.to_fraction_field(); y #indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field[5]>",
line 1, in <module>
y = z.to_fraction_field(); y #indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 951, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field
Failed example:
y.parent()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field[6]>",
line 1, in <module>
y.parent()
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 975, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c
Failed example:
z = (1 + w)^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 976, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c
Failed example:
z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c[5]>",
line 1, in <module>
z
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 978, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c
Failed example:
z << 17 # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c[6]>",
line 1, in <module>
z << Integer(17) # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 980, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c
Failed example:
z << (-1)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c[7]>",
line 1, in <module>
z << (-Integer(1))
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 996, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__
Failed example:
z = (1 + w)^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 997, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__
Failed example:
z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__[5]>",
line 1, in <module>
z
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 999, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__
Failed example:
z << 17 # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__[6]>",
line 1, in <module>
z << Integer(17) # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1001, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__
Failed example:
z << (-1)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__[7]>",
line 1, in <module>
z << (-Integer(1))
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1027, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c
Failed example:
z = (1 + w)^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1028, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c
Failed example:
for m in range(26): repr(z >> m) # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c[5]>",
line 1, in <module>
for m in range(Integer(26)): repr(z >> m) # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1055, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c
Failed example:
repr(z >> (-4))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c[6]>",
line 1, in <module>
repr(z >> (-Integer(4)))
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1094, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__
Failed example:
z = (1 + w)^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1095, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__
Failed example:
z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__[5]>",
line 1, in <module>
z
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1097, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__
Failed example:
z >> (6) # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__[6]>",
line 1, in <module>
z >> (Integer(6)) # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1099, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__
Failed example:
z >> (-4)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__[7]>",
line 1, in <module>
z >> (-Integer(4))
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1123, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_
Failed example:
z = (1 + w)^5; z
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_[4]>",
line 1, in <module>
z = (Integer(1) + w)**Integer(5); z
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1125, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_
Failed example:
-z # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_[5]>",
line 1, in <module>
-z # indirect doctest
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1127, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_
Failed example:
y = z + (-z); y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_[6]>",
line 1, in <module>
y = z + (-z); y
NameError: name 'z' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1129, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_
Failed example:
-y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_[7]>",
line 1, in <module>
-y
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1201, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1 + w)^5 # indirect doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[4]>",
line 1, in <module>
(Integer(1) + w)**Integer(5) # indirect doctest
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1203, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1 + w + O(w^19))^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[5]>",
line 1, in <module>
(Integer(1) + w + O(w**Integer(19)))**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1205, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1 + O(w))^5
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[6]>",
line 1, in <module>
(Integer(1) + O(w))**Integer(5)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1207, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1 + w + O(w^3))^25
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[7]>",
line 1, in <module>
(Integer(1) + w + O(w**Integer(3)))**Integer(25)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1209, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(3 + 2*w + w^2 + O(w^6))^(15 + O(125))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[8]>",
line 1, in <module>
(Integer(3) + Integer(2)*w + w**Integer(2) +
O(w**Integer(6)))**(Integer(15) + O(Integer(125)))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1211, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(3 + 2*w + w^2 + O(w^6))^(15 + O(25))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[9]>",
line 1, in <module>
(Integer(3) + Integer(2)*w + w**Integer(2) +
O(w**Integer(6)))**(Integer(15) + O(Integer(25)))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1213, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(3 + w^2 + O(w^6))^(15+O(25))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[10]>",
line 1, in <module>
(Integer(3) + w**Integer(2) +
O(w**Integer(6)))**(Integer(15)+O(Integer(25)))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1219, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1+w+O(w^2))^8
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[15]>",
line 1, in <module>
(Integer(1)+w+O(w**Integer(2)))**Integer(8)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1221, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1+w+O(w^2))^16
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[16]>",
line 1, in <module>
(Integer(1)+w+O(w**Integer(2)))**Integer(16)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1223, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1+w+O(w^2))^32
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[17]>",
line 1, in <module>
(Integer(1)+w+O(w**Integer(2)))**Integer(32)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1225, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
(1+w+O(w^2))^64
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[18]>",
line 1, in <module>
(Integer(1)+w+O(w**Integer(2)))**Integer(64)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1227, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
U.<a> = Zq(17^4, 6, print_mode='val-unit'); b = (a^3-a+14)^-6; b
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[19]>",
line 1, in <module>
U = Zq(Integer(17)**Integer(4), Integer(6), print_mode='val-unit',
names=('a',)); (a,) = U._first_ngens(1); b =
(a**Integer(3)-a+Integer(14))**-Integer(6); b
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1229, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
Failed example:
b*(a^3-a+14)^6
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__[20]>",
line 1, in <module>
b*(a**Integer(3)-a+Integer(14))**Integer(6)
NameError: name 'b' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1394, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
Failed example:
(4*w^5 + 3*w^7 + w^9 + 2*w^10 + 2*w^11 + O(w^13)) - 69 # indirect
doctest
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_[4]>",
line 1, in <module>
(Integer(4)*w**Integer(5) + Integer(3)*w**Integer(7) +
w**Integer(9) + Integer(2)*w**Integer(10) + Integer(2)*w**Integer(11) +
O(w**Integer(13))) - Integer(69) # indirect doctest
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1396, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
Failed example:
-69 + (4*w^5 + 3*w^7 + w^9 + 2*w^10 + 2*w^11 + O(w^13))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_[5]>",
line 1, in <module>
-Integer(69) + (Integer(4)*w**Integer(5) +
Integer(3)*w**Integer(7) + w**Integer(9) + Integer(2)*w**Integer(10) +
Integer(2)*w**Integer(11) + O(w**Integer(13)))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1398, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
Failed example:
y = (4*w^5 + 3*w^7 + w^9 + 2*w^10 + 2*w^11 + O(w^13))
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_[6]>",
line 1, in <module>
y = (Integer(4)*w**Integer(5) + Integer(3)*w**Integer(7) +
w**Integer(9) + Integer(2)*w**Integer(10) + Integer(2)*w**Integer(11) +
O(w**Integer(13)))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1399, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
Failed example:
y - 70
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_[7]>",
line 1, in <module>
y - Integer(70)
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1401, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
Failed example:
y + 0
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_[8]>",
line 1, in <module>
y + Integer(0)
NameError: name 'y' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1439, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._sub_
Failed example:
a - O(w^14)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._sub_[8]>",
line 1, in <module>
a - O(w**Integer(14))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1443, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._sub_
Failed example:
O(w^14) - a
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._sub_[10]>",
line 1, in <module>
O(w**Integer(14)) - a
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1481, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._mul_
Failed example:
a * O(w^14)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._mul_[8]>",
line 1, in <module>
a * O(w**Integer(14))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1533, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
a = (1 + w)^25 - 1
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[7]>",
line 1, in <module>
a = (Integer(1) + w)**Integer(25) - Integer(1)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1534, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
b = (1 + w)^5 - 1
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[8]>",
line 1, in <module>
b = (Integer(1) + w)**Integer(5) - Integer(1)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1535, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
c = (1 + w)^20 + (1 + w)^15 + (1 + w)^10 + (1 + w)^5 + 1
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[9]>",
line 1, in <module>
c = (Integer(1) + w)**Integer(20) + (Integer(1) + w)**Integer(15)
+ (Integer(1) + w)**Integer(10) + (Integer(1) + w)**Integer(5) +
Integer(1)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1536, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
d = a / b; d == c
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[10]>",
line 1, in <module>
d = a / b; d == c
NameError: name 'a' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1538, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
d.precision_absolute()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[11]>",
line 1, in <module>
d.precision_absolute()
NameError: name 'd' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1540, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
c.precision_absolute()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[12]>",
line 1, in <module>
c.precision_absolute()
NameError: name 'c' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1542, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
Failed example:
1 / a == ~a
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_[13]>",
line 1, in <module>
Integer(1) / a == ~a
NameError: name 'a' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1615, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.is_zero
Failed example:
O(w^189).is_zero()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.is_zero[4]>",
line 1, in <module>
O(w**Integer(189)).is_zero()
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1825, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
Failed example:
w^10 - w^12 + 2*w^14 + w^15 + 2*w^16 + w^18 + O(w^19)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list[7]>",
line 1, in <module>
w**Integer(10) - w**Integer(12) + Integer(2)*w**Integer(14) +
w**Integer(15) + Integer(2)*w**Integer(16) + w**Integer(18) +
O(w**Integer(19))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1829, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
Failed example:
y = 75 + 45*a + 1200*a^2; y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list[10]>",
line 1, in <module>
y = Integer(75) + Integer(45)*a + Integer(1200)*a**Integer(2); y
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1831, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
Failed example:
y.list()
Expected:
[[], [0, 4], [3, 1, 3], [0, 0, 4], [0, 0, 1]]
Got:
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 0, 2, 1, 2, 4, 1]
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1833, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
Failed example:
y.list('smallest')
Expected:
[[], [0, -1], [-2, 2, -2], [1], [0, 0, 2]]
Got:
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 2, 1, 2, 0, 1]
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1835, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
Failed example:
5*((-2*5 + 25) + (-1 + 2*5)*a + (-2*5 + 2*125)*a^2)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list[13]>",
line 1, in <module>
Integer(5)*((-Integer(2)*Integer(5) + Integer(25)) + (-Integer(1)
+ Integer(2)*Integer(5))*a + (-Integer(2)*Integer(5) +
Integer(2)*Integer(125))*a**Integer(2))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1875, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.matrix_mod_pn
Failed example:
a = (3+w)^7
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.matrix_mod_pn[4]>",
line 1, in <module>
a = (Integer(3)+w)**Integer(7)
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1876, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.matrix_mod_pn
Failed example:
a.matrix_mod_pn()
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.matrix_mod_pn[5]>",
line 1, in <module>
a.matrix_mod_pn()
NameError: name 'a' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1959, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
Failed example:
all([L[i]^625 == L[i] for i in range(4)])
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list[3]>",
line 1, in <module>
all([L[i]**Integer(625) == L[i] for i in range(Integer(4))])
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1965, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
Failed example:
b = (1+w)^5; L = b.teichmuller_list(); L
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list[7]>",
line 1, in <module>
b = (Integer(1)+w)**Integer(5); L = b.teichmuller_list(); L
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1967, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
Failed example:
sum([w^i*L[i] for i in range(9)]) == b
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list[8]>",
line 1, in <module>
sum([w**i*L[i] for i in range(Integer(9))]) == b
File "sage/structure/element.pyx", line 1798, in
sage.structure.element.RingElement.__mul__
(/home/aly/Sage/sage/src/build/cythonized/sage/structure/element.c:16512)
return coercion_model.bin_op(left, right, mul)
File "sage/structure/coerce.pyx", line 1069, in
sage.structure.coerce.CoercionModel_cache_maps.bin_op
(/home/aly/Sage/sage/src/build/cythonized/sage/structure/coerce.c:9736)
raise TypeError(arith_error_message(x,y,op))
TypeError: unsupported operand parent(s) for '*': 'Eisenstein
Extension of 7-adic Ring with capped absolute precision 3 in w defined by
(1 + O(7^3))*x^3 + (O(7^3))*x^2 + (5*7^2 + O(7^3))*x + (7 + O(7^3))' and
'Unramified Extension of 5-adic Ring with capped absolute precision 4 in a
defined by (1 + O(5^4))*x^4 + (O(5^4))*x^3 + (4 + O(5^4))*x^2 + (4 +
O(5^4))*x + (2 + O(5^4))'
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1969, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
Failed example:
all([L[i]^(7^3) == L[i] for i in range(9)])
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list[9]>",
line 1, in <module>
all([L[i]**(Integer(7)**Integer(3)) == L[i] for i in
range(Integer(9))])
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1974, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
Failed example:
sum([w^i*L[i] for i in range(len(L))])
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list[11]>",
line 1, in <module>
sum([w**i*L[i] for i in range(len(L))])
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2017, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe
Failed example:
y^11 == y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe[5]>",
line 1, in <module>
y**Integer(11) == y
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2021, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe
Failed example:
b = A.teichmuller(1 + 2*a - a^2); b
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe[8]>",
line 1, in <module>
b = A.teichmuller(Integer(1) + Integer(2)*a - a**Integer(2)); b
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2023, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe
Failed example:
b^1331 == b
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe[9]>",
line 1, in <module>
b**Integer(1331) == b
NameError: name 'b' is not defined
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2189, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
Failed example:
w^10 - w^12 + 2*w^14 + w^15 + 2*w^16 + w^18 + O(w^19)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list[7]>",
line 1, in <module>
w**Integer(10) - w**Integer(12) + Integer(2)*w**Integer(14) +
w**Integer(15) + Integer(2)*w**Integer(16) + w**Integer(18) +
O(w**Integer(19))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2193, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
Failed example:
y = 75 + 45*a + 1200*a^2; y
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list[10]>",
line 1, in <module>
y = Integer(75) + Integer(45)*a + Integer(1200)*a**Integer(2); y
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2195, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
Failed example:
y._ext_p_list(True)
Expected:
[[0, 4], [3, 1, 3], [0, 0, 4], [0, 0, 1]]
Got:
[1, 0, 4, 0, 2, 1, 2, 4, 1]
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2197, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
Failed example:
y._ext_p_list(False)
Expected:
[[0, -1], [-2, 2, -2], [1], [0, 0, 2]]
Got:
[1, 0, -1, 0, 2, 1, 2, 0, 1]
**********************************************************************
File "src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 2199, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
Failed example:
5*((-2*5 + 25) + (-1 + 2*5)*a + (-2*5 + 2*125)*a^2)
Exception raised:
Traceback (most recent call last):
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/aly/Sage/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list[13]>",
line 1, in <module>
Integer(5)*((-Integer(2)*Integer(5) + Integer(25)) + (-Integer(1)
+ Integer(2)*Integer(5))*a + (-Integer(2)*Integer(5) +
Integer(2)*Integer(125))*a**Integer(2))
File "sage/rings/padics/padic_ZZ_pX_CA_element.pyx", line 1307, in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
(build/cythonized/sage/rings/padics/padic_ZZ_pX_CA_element.cpp:11447)
raise TypeError, "exponent must be an integer, rational or base
p-adic with the same prime"
TypeError: exponent must be an integer, rational or base p-adic with
the same prime
**********************************************************************
22 items had failures:
17 of 32 in sage.rings.padics.padic_ZZ_pX_CA_element
1 of 18 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__init__
5 of 10 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__invert__
4 of 9 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__lshift__
13 of 24 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__pow__
4 of 9 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.__rshift__
5 of 10 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._add_
3 of 9 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._cmp_units
7 of 15 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._div_
4 of 9 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._lshift_c
1 of 10 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._mul_
4 of 9 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._neg_
1 of 6 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._new_c
3 of 8 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._rshift_c
2 of 12 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._sub_
3 of 11 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement._teichmuller_set_unsafe
5 of 15 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.ext_p_list
1 of 11 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.is_zero
5 of 17 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.list
2 of 7 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.matrix_mod_pn
5 of 13 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list
3 of 8 in
sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.to_fraction_field
[448 tests, 98 failures, 0.38 s]
----------------------------------------------------------------------
sage -t --warn-long 17.3 src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx
# 98 doctests failed
----------------------------------------------------------------------
Total time for all tests: 0.5 seconds
cpu time: 0.4 seconds
cumulative wall time: 0.4 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19943#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.