Opened 2 years ago

Last modified 4 days ago

#25253 needs_review defect

Singular can't handle nested lists

Reported by: gh-BrentBaccala Owned by:
Priority: minor Milestone: sage-9.2
Component: interfaces Keywords: Singular
Cc: gh-mwageringel Merged in:
Authors: Brent Baccala Reviewers:
Report Upstream: N/A Work issues:
Branch: public/25253 (Commits) Commit: b47e2722ac3c45888259f1118dbe1f4e7ba72f83
Dependencies: Stopgaps:

Description

There doesn't seem to be any way to create nested lists using Sage's Singular interface:

sage: b = singular.list([1, 2, [3, 4]])
sage: b
[1]:
   1
[2]:
   2
[3]:
   4*gen(2)+3*gen(1)
sage: b = singular.list([1, 2, singular.list([3, 4])])

The last command just hangs indefinitely.

Change History (11)

comment:1 Changed 2 years ago by gh-BrentBaccala

  • Authors set to Brent Baccala
  • Branch set to public/25253
  • Commit set to 99e273a0f23d2434c60f5c03f1c2bdc0504ce34f
  • Status changed from new to needs_review

New commits:

99e273aTrac #25253: fix singular.list() to handle nested lists

comment:2 Changed 2 years ago by git

  • Commit changed from 99e273a0f23d2434c60f5c03f1c2bdc0504ce34f to e8a52cb3357c410ff99f3edcc688bda69155e0a0

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

e8a52cbTrac #25253: fix docstring

comment:3 Changed 19 months ago by git

  • Commit changed from e8a52cb3357c410ff99f3edcc688bda69155e0a0 to 7853a3a9c2df0f9fcbdbbaaae19410115b54a5b3

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

7853a3aMerge tag '8.4' into public/25253

comment:4 Changed 19 months ago by git

  • Commit changed from 7853a3a9c2df0f9fcbdbbaaae19410115b54a5b3 to 4e6bdacdb6ba0178562231d6637d0c9e4afd9f61

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

4e6bdacTrac #25253: pyflakes (remove unused import)

comment:5 Changed 15 months ago by git

  • Commit changed from 4e6bdacdb6ba0178562231d6637d0c9e4afd9f61 to b47e2722ac3c45888259f1118dbe1f4e7ba72f83

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

b47e272Merge tag '8.7' into public/25253

comment:6 Changed 15 months ago by gh-BrentBaccala

  • Milestone changed from sage-8.2 to sage-8.8

comment:7 Changed 13 months ago by embray

  • Milestone changed from sage-8.8 to sage-8.9

Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically).

comment:8 Changed 6 months ago by embray

  • Milestone changed from sage-8.9 to sage-9.1

Ticket retargeted after milestone closed

comment:9 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.1 to sage-9.2

comment:10 Changed 4 days ago by mkoeppe

  • Cc gh-mwageringel added

comment:11 Changed 4 days ago by chapoton

integer_types is no longer available, just use int

Note: See TracTickets for help on using tickets.