| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Co-authored-by: Marie Roald <roald.marie@gmail.com>
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
Co-authored-by: Marie Roald <roald.marie@gmail.com>
Co-authored-by: Marie Roald <roald.marie@gmail.com>
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
|
LGTM |
Sorry, something went wrong.
There was a problem hiding this comment.
Could you please add a note about these additions to the Doc/whatsnew/3.14.rst?
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
|
We have tried to address the review comments now 🙂 |
Sorry, something went wrong.
There was a problem hiding this comment.
Some final minor nitpicks. Otherwise looks great!
Sorry, something went wrong.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Marie Roald <roald.marie@gmail.com>
Co-authored-by: Marie Roald <roald.marie@gmail.com>
There was a problem hiding this comment.
Last one and I am good! (modulo Hugo's comment)
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
(Conflict resolved.) @erlend-aasland Any more comments or good to merge? |
Sorry, something went wrong.
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
There was a problem hiding this comment.
the mock.patch context manager handling in the tests could be improved
Sorry, something went wrong.
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com>
|
We've addressed the review comments now 🙂 |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, everyone! :)
Sorry, something went wrong.
|
This change introduced a reference leak in test_turtle: $ ./python -m test test_turtle -R 3:3 ... test_turtle leaked [13847, 13843, 13847] references, sum=41537 test_turtle leaked [3399, 3397, 3399] memory blocks, sum=10195 ... cc @encukou |
Sorry, something went wrong.
|
I suspect that the regression comes from the new patch_screen() function in test_turtle. |
Sorry, something went wrong.
|
I believe we found a fix. If we add the following teardown method to TestTurtle def tearDown(self):
turtle.Turtle._screen = None
return super().tearDown()then @vstinner's command gives this output instead: [...]
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX. ...
== Tests result: SUCCESS ==
[...]
We're not sure how the workflow is for fixing regressions that we introduced. Should we make a new PR that starts with gh-126349:? |
Sorry, something went wrong.
Yes please, because we've only just merged this PR, the fix can go under the same issue. |
Sorry, something went wrong.
|
We'll submit a PR when we're off work today then :) |
Sorry, something went wrong.
Sorry, something went wrong.
…ers to turtle (python#126350) Co-authored-by: Marie Roald <roald.marie@gmail.com> Co-authored-by: Yngve Mardal Moe <yngve.m.moe@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Daniel Hollas <danekhollas@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend@python.org>
| Back | FazBrowse Home | New Git URL |
Adds fill(), poly() and no_animation() context managers to turtle.py.
Co-authored-by: Yngve Mardal Moe 3531982+yngvem@users.noreply.github.com
📚 Documentation preview 📚: https://cpython-previews--126350.org.readthedocs.build/en/126350/library/turtle.html