Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The following problem showed up with 8.0.beta8: the copy of an IndexedFreeModuleElement seems to be not functional: {{{ #!sage sage: F=CombinatorialFreeModule(ZZ,ZZ) sage: a=F.an_element() ; a 3*B[-1] + B[0] + 3*B[1] sage: copy(a) <repr(<sage.combinat.free_module.CombinatorialFreeModule_with_category.e lement_class at 0x7f5d735e7808>) failed: AttributeError: 'NoneType' object has no attribute 'items'> sage: type(copy(a)._monomial_coefficients) <type 'NoneType'> }}} Part of Meta-ticket #13811: Support Python's `__copy__` / `__deepcopy__` protocol URL: https://trac.sagemath.org/23075 Reported by: cnassau Ticket author(s): Travis Scrimshaw Reviewer(s): Matthias Koeppe
- Loading branch information