This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: turtle.fillcolor doesn't accept a tuple of floats
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.6
process
Status: open Resolution:
Dependencies: 21916 Superseder:
Assigned To: Nosy List: JelleZijlstra, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2016-06-04 16:29 by JelleZijlstra, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
issue27219.patch JelleZijlstra, 2016-06-05 00:21 patch adding support for float color tuples review
issue27219-cr.patch JelleZijlstra, 2016-06-05 16:18 review
Messages (3)
msg267263 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2016-06-04 16:29
But `turtle.pencolor()` returns a tuple of floats, so calling `turtle.fillcolor(turtle.pencolor())`. This issue shows up in the doctest at library/turtle.rst line 936. I can submit a patch with tests once the tests in issue21916 are in.
msg267394 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-06-05 07:08
_color_triple_to_hexstring() is implementation detail. It would be better to test it indirectly using public method (like fillcolor()). Added other comments on Rietveld.
msg267423 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2016-06-05 16:18
New patch
History
Date User Action Args
2022-04-11 14:58:32adminsetgithub: 71406
2022-01-23 05:20:43JelleZijlstrasetassignee: JelleZijlstra ->
2016-06-05 16:18:41JelleZijlstrasetfiles: + issue27219-cr.patch

messages: + msg267423
2016-06-05 07:08:56serhiy.storchakasetnosy: + serhiy.storchaka

messages: + msg267394
stage: patch review
2016-06-05 00:21:52JelleZijlstrasetfiles: + issue27219.patch
keywords: + patch
2016-06-04 17:37:06serhiy.storchakasetdependencies: + Create unit tests for turtle textonly
type: enhancement
2016-06-04 16:29:00JelleZijlstracreate