Content-Length: 271652 | pFad | https://github.com/RustPython/RustPython/pull/707#event-2220320875

BA Fix the Display impl for PyRef by OddCoincidence · Pull Request #707 · RustPython/RustPython · GitHub
Skip to content

Fix the Display impl for PyRef #707

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

Merged
merged 3 commits into from
Mar 21, 2019
Merged

Conversation

OddCoincidence
Copy link
Contributor

Previously used the target's Debug impl which leads to surprising results.

(Also, to avoid implementing Display for PyTuple and PyList, I corrected the comparison methods on these to return NotImplemented instead of formatting and raising their own errors.)

@codecov-io
Copy link

Codecov Report

Merging #707 into master will decrease coverage by 1.79%.
The diff coverage is 29.62%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #707     +/-   ##
========================================
- Coverage    52.9%   51.1%   -1.8%     
========================================
  Files          81      81             
  Lines       14617   14988    +371     
  Branches     3441    3557    +116     
========================================
- Hits         7733    7660     -73     
- Misses       5072    5510    +438     
- Partials     1812    1818      +6
Impacted Files Coverage Δ
vm/src/obj/objtype.rs 42.36% <0%> (-27.81%) ⬇️
vm/src/obj/objstr.rs 45.76% <100%> (-25.06%) ⬇️
vm/src/obj/objtuple.rs 40.37% <19.04%> (+2.28%) ⬆️
vm/src/obj/objlist.rs 48.67% <33.33%> (+2.69%) ⬆️
vm/src/pyobject.rs 68.91% <40%> (-9.02%) ⬇️

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 5a1a436...5980771. Read the comment docs.

@OddCoincidence OddCoincidence merged commit 90db981 into master Mar 21, 2019
@OddCoincidence OddCoincidence deleted the joey/proper-pyref-display branch April 9, 2019 20:34
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.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/RustPython/RustPython/pull/707#event-2220320875

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy