Ticket #9138 (new defect)
Categories for polynomial rings
| Reported by: | jbandlow | Owned by: | nthiery |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.5.3 |
| Component: | categories | Keywords: | introspection, categories |
| Cc: | sage-combinat | Author(s): | |
| Report Upstream: | N/A | Reviewer(s): | |
| Merged in: | Work issues: |
Description (last modified by nthiery) (diff)
Introspection is failing on polynomial rings:
sage: R.<x> = QQ[] sage: R.su<tab> R.sum R.summation R.summation_from_element_class_add sage: R.sum? Object `R.sum` not found. sage: R.sum() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last)
This is because polynomial rings do not yet set their category properly:
sage: QQ[x]._test_category() ------------------------------------------------------------ Traceback (most recent call last): ... AssertionError: category of self improperly initialized
See http://groups.google.com/group/sage-devel/browse_thread/thread/4780192a11a8b591 for more discussion.
Change History
Note: See
TracTickets for help on using
tickets.
