Skip to content

preparser incorrectly identifies integer methods that start with e as scientific notation #4459

@mwhansen

Description

@mwhansen
sage: 3.exp()
------------------------------------------------------------
   File "<ipython console>", line 1
     RealNumber('3.e')xp()
                       ^
SyntaxError: invalid syntax

sage: 3.is_square()
False

Component: misc

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions