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
Document default numeric string formats #83597
Comments
Seems sane to put _some_ restrictions on the string representations of the Numeric classes. This would be a change to the Python language Suggestions made in a pull request. See the email thread: |
Is the lack of this documentation causing some confusion somewhere? This isn't rhetorical, I'm genuinely curious what problem you're trying to solve. Is there any mainstream programming language where the basics of what you've laid out aren't true? It all seems pretty obvious to me. For example, I can't see anyone looking at this and saying "Ah, base 10. That's why it's producing the output I'm seeing." |
On Wed, 22 Jan 2020 06:09:41 +0000
I'd say no, there's no real confusion anywhere. This started with a search for documentation on Python's
Well, I just got done looking at YAML which has a lot of base-related The problem that would be solved is that it's easy to rely Likewise, immutability of value when round-tripping through a So if these properties are important then include them in the spec. I understand if nobody sees this as a real problem. And Regards, Karl <kop@karlpinc.com> |
Thanks for the patch! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: