#31072 closed defect (fixed)

Allow conversion of Sequence into function fields

Reported by: pbruin Owned by:
Priority: minor Milestone: sage-9.3
Component: coercion Keywords: function field
Cc: Merged in:
Authors: Peter Bruin Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: a8759f8 (Commits, GitHub, GitLab) Commit: a8759f82c16e01b37fcb80f79bfec9aebae710ea
Dependencies: Stopgaps:

Status badges

Description

In SageMath 9.3.beta4:

sage: L.<t> = FunctionField(QQ)
sage: L([1, 2])
2*t + 1
sage: L(Sequence([1, 2]))
Traceback (most recent call last):
...
TypeError: descriptor 'category' of 'sage.structure.sage_object.SageObject' object needs an argument

Change History (5)

comment:1 Changed 12 months ago by pbruin

  • Branch set to u/pbruin/31072-Sequence_to_FunctionField
  • Commit set to b8efcd3c989abef09c7b7cb3fd495ee5749b50f0
  • Status changed from new to needs_review

comment:2 Changed 12 months ago by chapoton

looks good. would you please take care of the pycodestyle warning (see patchbot plugin) ?

comment:3 Changed 11 months ago by git

  • Commit changed from b8efcd3c989abef09c7b7cb3fd495ee5749b50f0 to a8759f82c16e01b37fcb80f79bfec9aebae710ea

Branch pushed to git repo; I updated commit sha1. New commits:

a8759f8Trac 31072: fix pycodestyle warnings

comment:4 Changed 11 months ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from needs_review to positive_review

ok, let it be, thx

comment:5 Changed 11 months ago by vbraun

  • Branch changed from u/pbruin/31072-Sequence_to_FunctionField to a8759f82c16e01b37fcb80f79bfec9aebae710ea
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.