Changes between Initial Version and Version 2 of Ticket #7510
 Timestamp:
 11/21/09 15:44:39 (13 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #7510
 Property Owner changed from was to hivert

Property
Component
changed from
number theory
tocategories

Property
Summary
changed from
Primes is missing is_finite.
tois_finite method in categories (was Primes is missing is_finite).

Ticket #7510 – Description
initial v2 1 Primes has no methods {{{is_finite}}}. This breaks several thing including: 2 {{{ 3 sage: contre_exemples = (p for p in Primes() and not is_prime(mersenne(p))) 1 I found that Primes has no methods {{{is_finite}}}. This is actually not a problem of {{{Prime}}} but should be dealt in categories. I put a small patch here though i'm not sure we want to do this. Isn't this redundent with categories ? 4 2 5  6 AttributeError Traceback (most recent call last) 3 Cheers, 7 4 8 /home/averell/.sage/temp/tomahawk/25868/_home_averell__sage_init_sage_0.py in <module>() 9 10 /usr/local/sage/sage4.2/local/lib/python2.6/sitepackages/sage/structure/parent.so in sage.structure.parent.Set_generic.__nonzero__ (sage/structure/parent.c:14641)() 11 12 AttributeError: 'Primes_with_category' object has no attribute 'is_finite' 13 }}} 5 Florent 6