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

Change repr(float) if float(int(f)) == f #104

Merged
merged 4 commits into from Sep 30, 2019
Merged

Change repr(float) if float(int(f)) == f #104

merged 4 commits into from Sep 30, 2019

Conversation

ghost
Copy link

@ghost ghost commented Sep 29, 2019

Fixes #103

@codecov-io
Copy link

codecov-io commented Sep 29, 2019

Codecov Report

Merging #104 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   69.64%   69.65%   +<.01%     
==========================================
  Files          60       60              
  Lines       10810    10812       +2     
==========================================
+ Hits         7529     7531       +2     
  Misses       2750     2750              
  Partials      531      531
Impacted Files Coverage Δ
py/float.go 35.84% <100%> (+0.61%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af17d7d...5057b16. Read the comment docs.

@ncw ncw merged commit f100534 into go-python:master Sep 30, 2019
@ncw
Copy link
Collaborator

ncw commented Sep 30, 2019

Thank you very much :-)

@ghost ghost deleted the float-repr branch October 6, 2019 08:55
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.

repr([1, 1.0]) is different from CPython
3 participants