Message315367
| Author | Bryan.Oakley |
|---|---|
| Recipients | Bryan.Oakley |
| Date | 2018-04-16.21:49:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1523915381.82.0.682650639539.issue33289@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Even though the underlying tcl/tk interpreter is returning ints, askcolor is converting the values to floats. My guess is this is an oversight related to the change in functionality of the / operator in python3.
this:
return (r/256, g/256, b/256), str(result)
should probably be this:
return (r//256, g//256, b//256), str(result) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-04-16 21:49:41 | Bryan.Oakley | set | recipients: + Bryan.Oakley |
| 2018-04-16 21:49:41 | Bryan.Oakley | set | messageid: <1523915381.82.0.682650639539.issue33289@psf.upfronthosting.co.za> |
| 2018-04-16 21:49:41 | Bryan.Oakley | link | issue33289 messages |
| 2018-04-16 21:49:41 | Bryan.Oakley | create | |