You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An incredibly small annoyance, but as a teacher in the UK, using the Turtle library to teach students how to code, I spend more time explaining that they should use "color" instead of "colour" then actually teaching them coding!
Would it be possible to add a duplicated function to each "color" function in the python turtle that uses the UK spelling, "colour"? They would behave exactly the same, you could have the "colour" functions just call the "color" function, it would just save a lot of hassle in class!
Python consistently uses American (USA) vocabulary and spellings for its English. Anyone over, say, 14, should learn them to the extent used in Python. Kids under 10 are different.
bpo-24990 was rejected because it proposed to hardcode translation. A software solution would be a different matter. I have some ideas, but the details would depend on how Python is setup for kids to use.
Vedran, bpo-24990, bpo-24990, and bpo-24990 all link to the bpo url *and* indicate whether the issue is open or closed. (24990 is closed as rejected.)
Activity
JohnsonS commentedon Feb 12, 2021
An incredibly small annoyance, but as a teacher in the UK, using the Turtle library to teach students how to code, I spend more time explaining that they should use "color" instead of "colour" then actually teaching them coding!
Would it be possible to add a duplicated function to each "color" function in the python turtle that uses the UK spelling, "colour"? They would behave exactly the same, you could have the "colour" functions just call the "color" function, it would just save a lot of hassle in class!
vedgar commentedon Feb 12, 2021
It is just a matter of a different (though not very different) language. As such, it is a duplicate of https://bugs.python.org/issue24990.
terryjreedy commentedon Feb 13, 2021
Python consistently uses American (USA) vocabulary and spellings for its English. Anyone over, say, 14, should learn them to the extent used in Python. Kids under 10 are different.
bpo-24990 was rejected because it proposed to hardcode translation. A software solution would be a different matter. I have some ideas, but the details would depend on how Python is setup for kids to use.
Vedran, bpo-24990, bpo-24990, and bpo-24990 all link to the bpo url *and* indicate whether the issue is open or closed. (24990 is closed as rejected.)
serhiy-storchaka commentedon Feb 13, 2021
If bpo-24990 is closed, this issue should be closed as well, as it is just a particular case of bpo-24990.