Skip to content

symbolic variable names should be valid identifiers, or ridiculousness follows #7496

@williamstein

Description

@williamstein

WTF?

sage: var('1')
1
sage: var('1')+1
1 + 1
sage: expand((var('2')+var('2'))^2)
4*2^2

When this ticket is closed, #9724 can also be closed.


Apply attachment: trac_7496_check_symbolic_variable_names.patch and attachment: trac_7496-reviewer.2.patch.

Component: symbolics

Keywords: sd31

Author: Volker Braun, Karl-Dieter Crisman

Reviewer: Karl-Dieter Crisman, Volker Braun

Merged: sage-4.7.2.alpha0

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions