Visitar URL original
Use `format` and `cformat` from `rustpython-literal` by MichaReiser · Pull Request #4968 · RustPython/RustPython · GitHub
The Wayback Machine - https://web.archive.org/web/20230618160606/https://github.com/RustPython/RustPython/pull/4968
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

Use format and cformat from rustpython-literal #4968

Conversation

MichaReiser
Copy link
Contributor

Follow up to RustPython/Parser#24

Removes the format and cformat modules and instead uses the modules from the rustpython-literal crate.

Cargo.toml Outdated
Comment on lines 32 to 39
#rustpython-literal = { git = "https://github.com/youknowone/RustPython-parser.git", rev = "5b2af304a2baa53598e594097824165d4ac7a119" }
#rustpython-parser-core = { git = "https://github.com/youknowone/RustPython-parser.git", rev = "5b2af304a2baa53598e594097824165d4ac7a119" }
#rustpython-parser = { git = "https://github.com/youknowone/RustPython-parser.git", rev = "5b2af304a2baa53598e594097824165d4ac7a119" }
#rustpython-ast = { git = "https://github.com/youknowone/RustPython-parser.git", rev = "5b2af304a2baa53598e594097824165d4ac7a119" }
rustpython-literal = { path = "../RustPython-parser/literal" }
rustpython-parser-core = { path = "../RustPython-parser/core" }
rustpython-parser = { path = "../RustPython-parser/parser" }
rustpython-ast = { path = "../RustPython-parser/ast" }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update after RustPython/Parser#24 has been merged.

Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@youknowone youknowone merged commit 7a6000d into RustPython:main May 12, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants