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

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

Closed
mwhansen opened this issue Nov 7, 2008 · 2 comments

Comments

@mwhansen
Copy link
Contributor

mwhansen commented Nov 7, 2008

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

@mwhansen mwhansen added this to the sage-3.4.1 milestone Nov 7, 2008
@mwhansen mwhansen changed the title preparser incorrectly identifies integer methods that start with e preparser incorrectly identifies integer methods that start with e as scientific notation Nov 7, 2008
@mwhansen
Copy link
Contributor Author

mwhansen commented Nov 7, 2008

comment:2

The same thing happens for those that start with 'r':

sage: 3.rational_reconstruction()
------------------------------------------------------------
   File "<ipython console>", line 1
     3.ational_reconstruction()

@boothby
Copy link

boothby commented Jan 23, 2009

comment:3

Rolled into #5079

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

2 participants