Opened 12 years ago
Closed 12 years ago
#1084 closed defect (fixed)
[with patch] invalid use of ring notation gives bizarre post-preparser syntax error
Reported by: | cwitty | Owned by: | ncalexan |
---|---|---|---|
Priority: | minor | Milestone: | sage-2.8.12 |
Component: | user interface | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Consider this example:
sage: QQX = QQ['x'] sage: K.<x> = QQX ------------------------------------------------------------ File "<ipython console>", line 1 K = QQ,names=(u'x',)); (x,) = K._first_ngens(Integer(1)) ^ <type 'exceptions.SyntaxError'>: invalid syntax
I don't care if this actually works; but if it doesn't, it should fail with a friendlier error message. And where did the 'X' from QQX go?
Attachments (1)
Change History (3)
Changed 12 years ago by
comment:1 Changed 12 years ago by
- Summary changed from invalid use of ring notation gives bizarre post-preparser syntax error to [with patch] invalid use of ring notation gives bizarre post-preparser syntax error
comment:2 Changed 12 years ago by
- Resolution set to fixed
- Status changed from new to closed
applied to 2.8.12.rc0
Note: See
TracTickets for help on using
tickets.
Patch may require 1040-ncalexan-2.hg be attached first; check ticket 1040.