[issue12677] Turtle, fix right/left rotation orientation
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a30e6c4bf486 by Sandro Tosi in branch '2.7': #12677: correct turtle orientation in doc http://hg.python.org/cpython/rev/a30e6c4bf486 New changeset bf4f65043d7d by Sandro Tosi in branch '3.2': #12677: correct turtle orientation in doc http://hg.python.org/cpython/rev/bf4f65043d7d New changeset a7365994f4d6 by Sandro Tosi in branch 'default': #12677: merge with 3.2 http://hg.python.org/cpython/rev/a7365994f4d6 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Changes by Sandro Tosi sandro.t...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Senthil Kumaran sent...@uthcode.com added the comment: Sandro - You could go ahead and commit this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Sandro Tosi sandro.t...@gmail.com added the comment: As mentioned by Ezio, and I also verified myself, mode() doesn't influence the orientation on left()/right() methods (probably it affects some other functs?). Following was Ezio and I discussed on IRC, I've updated the 2 patches to add a small note that you have to import turtle before trying the mentioned commands. -- Added file: http://bugs.python.org/file22834/turtle_right-default-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file22835/turtle_right-2.7-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Ezio Melotti ezio.melo...@gmail.com added the comment: It seems to me that right() always turns the turtle clockwise, both with the standard and the logo mode. I agree that changing left-right and leave clockwise is better than changing clockwise-counterclockwise. I don't think it's worth mentioning the mode here. (On a side note: I was expecting the 'turtle' to be an instance of some Turtle class defined in the turtle module, or perhaps a singleton, but it turned out that in 'turtle.right()' turtle is the module itself. It might be better to say something like After importing the :mod:`turtle` module, ) -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: [issue12677] Turtle, fix right/left rotation orientation
The orientation depends upon the mode, which is explained further down. http://docs.python.org/py3k/library/turtle.html#turtle.left So, the correct fix would be: would turn clockwise/counterclockwise depending upon the mode. ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, following up http://mail.python.org/pipermail/docs/2011-July/005235.html here's 2 patch (for 3.3 + 3.2 and 2.7) to correct the orientation in the documentation, using turtle.right instead of turtle.left, since the work 'counterclockwise' (even if correct and already used) might be too heavy. I don't think the sense of the introductory part is voided with the change in the method name instead of fixing what it does. -- assignee: docs@python components: Documentation files: turtle_right-default.patch keywords: patch messages: 141511 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Turtle, fix right/left rotation orientation versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22818/turtle_right-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file22819/turtle_right-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com