Skip to content

Conversation

@dannasman
Copy link
Contributor

Hi!

This PR is related to PR #5356 in the RustPython repo. While investigating the NumberFormatBuilder I noticed that even though the flag fraction_consecutive_digit_separator is set to false the parser processed the bytes as if it was set to true. This observation was also made in issue #96 in the rust-lexical repo.

Comment on lines +59 to +61
// Use custom function for underline handling for now.
// For further information see https://github.com/Alexhuszagh/rust-lexical/issues/96.
let stripped = strip_underlines(literal)?;
Copy link
Member

Choose a reason for hiding this comment

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

👍

@youknowone youknowone merged commit 00d2f1d into RustPython:main Jul 23, 2024
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.

2 participants