[Python-checkins] bpo-39392: Turtle overlap fill depends on OS (GH-18223)

Miss Islington (bot) webhook-mailer at python.org
Mon Jan 27 18:46:32 EST 2020


https://github.com/python/cpython/commit/005b0596326cf1b4f17e8d38bfc3887d4486e564
commit: 005b0596326cf1b4f17e8d38bfc3887d4486e564
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-27T15:46:25-08:00
summary:

bpo-39392: Turtle overlap fill depends on OS (GH-18223)


Whether or not overlap regions for self-intersecting polygons
or multiple shapes are filled depends on the operating system graphics,
typeof overlap, and number of overlaps.
(cherry picked from commit 2824c45a0a020f12f27da7e7162e8636c21bf869)

Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>

files:
A Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst
M Doc/library/turtle.rst

diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 5d7f0608aebb7..82be362005d75 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -1013,6 +1013,11 @@ Filling
 
    Fill the shape drawn after the last call to :func:`begin_fill`.
 
+   Whether or not overlap regions for self-intersecting polygons
+   or multiple shapes are filled depends on the operating system graphics,
+   type of overlap, and number of overlaps.  For example, the Turtle star
+   above may be either all yellow or have some white regions.
+
    .. doctest::
 
       >>> turtle.color("black", "red")
diff --git a/Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst b/Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst
new file mode 100644
index 0000000000000..715874981f735
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst
@@ -0,0 +1 @@
+Explain that when filling with turtle, overlap regions may be left unfilled.



More information about the Python-checkins mailing list