Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid use of ring notation gives bizarre post-preparser syntax error #1084

Closed
sagetrac-cwitty mannequin opened this issue Nov 3, 2007 · 3 comments
Closed

invalid use of ring notation gives bizarre post-preparser syntax error #1084

sagetrac-cwitty mannequin opened this issue Nov 3, 2007 · 3 comments

Comments

@sagetrac-cwitty
Copy link
Mannequin

sagetrac-cwitty mannequin commented Nov 3, 2007

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?

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/1084

@sagetrac-cwitty sagetrac-cwitty mannequin added this to the sage-2.8.12 milestone Nov 3, 2007
@sagetrac-cwitty sagetrac-cwitty mannequin assigned ncalexan Nov 3, 2007
@ncalexan
Copy link
Mannequin

ncalexan mannequin commented Nov 4, 2007

Attachment: 1084-ncalexan-1.hg.gz

@ncalexan
Copy link
Mannequin

ncalexan mannequin commented Nov 4, 2007

comment:1

Patch may require 1040-ncalexan-2.hg be attached first; check ticket 1040.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Nov 6, 2007

comment:2

applied to 2.8.12.rc0

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Nov 6, 2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants