-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-74232: Add a note about roundtrip of non-float numerics in CSV #134963
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
gh-74232: Add a note about roundtrip of non-float numerics in CSV #134963
Conversation
Some numeric types, such as :class:`bool`, :class:`~fractions.Fraction`, | ||
or :class:`~enum.IntEnum`, have a string representation that cannot be | ||
converted to :class:`float`. | ||
They cannot be read in the :data:`QUOTE_NONNUMERIC` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They cannot be read in the :data:`QUOTE_NONNUMERIC` and | |
They cannot be read in the :data:`!QUOTE_NONNUMERIC` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is in the description for QUOTE_NONNUMERIC, but it is quite distant from the beginning, so a link will not harm.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…SV (pythonGH-134963) (cherry picked from commit e814f43) Co-authored-by: Serhiy Storchaka <[email protected]>
…SV (pythonGH-134963) (cherry picked from commit e814f43) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-135048 is a backport of this pull request to the 3.14 branch. |
GH-135049 is a backport of this pull request to the 3.13 branch. |
…CSV (GH-134963) (GH-135049) (cherry picked from commit e814f43) Co-authored-by: Serhiy Storchaka <[email protected]>
…CSV (GH-134963) (GH-135048) (cherry picked from commit e814f43) Co-authored-by: Serhiy Storchaka <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--134963.org.readthedocs.build/