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

Database: parsing integer literals with leading zeros #455

Open
richardotis opened this issue Jan 26, 2023 · 0 comments
Open

Database: parsing integer literals with leading zeros #455

richardotis opened this issue Jan 26, 2023 · 0 comments
Labels

Comments

@richardotis
Copy link
Collaborator

Example (found in Crivello et al., 2015):

from pycalphad import Database
Database('FUNCT SCRMOA1 298.15 +09800; 6000 N!\n')
Failed while parsing:   FUNCT SCRMOA1 298.15 +09800; 6000 N
Tokens: None
[...]
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant