py: int() default to decimal by wetor · Pull Request #221 · go-python/gpython
Repository navigation
py: int() default to decimal - #221
Merged
ncw merged 1 commit into go-python:main from wetor:fix_int Mar 20, 2023
Merged
py: int() default to decimal #221 ncw merged 1 commit into go-python:main from wetor:fix_int
Conversation
wetor commented Mar 18, 2023
Copy link Copy Markdown
Contributor
https://docs.python.org/3.4/library/functions.html#int
int(x, base=10)
If base=0, an exception will be thrown when executing int("07")
py: int() default to decimal
9ecc919
codecov
Bot
commented
Mar 18, 2023
·
edited
Loading
Copy link Copy Markdown
Codecov ReportPatch coverage: Additional details and impacted files @@ Coverage Diff @@ ## main #221 +/- ## ======================================= Coverage 74.42% 74.42% ======================================= Files 76 76 Lines 12675 12675 ======================================= Hits 9433 9433 Misses 2567 2567 Partials 675 675
Help us with your feedback. Take ten seconds to tell us how you rate us . Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry . |
ncw commented Mar 20, 2023
Copy link Copy Markdown
Collaborator
|
Does this change break this (which is correct)?
|
wetor commented Mar 20, 2023
Copy link Copy Markdown
Contributor
Author
|
I tried it and it didn't affect here, because this PR fixes |
View reviewed changes
ncw left a comment
Copy link Copy Markdown
Collaborator
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Looks good to me - thank you :-)
ncw merged commitacd458b
into
go-python : main
Mar 20, 2023
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment