summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)Victor Stinner2017-11-281-1/+1
| | | | | | | | | | | * distutils.config: Use the PyPIRCCommand.realm attribute if set * turtledemo: wait until macOS osascript command completes to not create a zombie process * Tools/scripts/treesync.py: declare 'default_answer' and 'create_files' as globals to modify them with the command line arguments. Previously, -y, -n, -f and -a options had no effect. flake8 warning: "F841 local variable 'p' is assigned to but never used".
* time.clock() now emits a DeprecationWarning (GH-4020)Victor Stinner2017-10-176-6/+6
| | | | | | | | | | bpo-31803: time.clock() and time.get_clock_info('clock') now emit a DeprecationWarning warning. Replace time.clock() with time.perf_counter() in tests and demos. Remove also hasattr(time, 'monotonic') in test_time since time.monotonic() is now always available since Python 3.5.
* bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)Jon Dufresne2017-05-181-1/+1
| | | | | | | | * Replaced list(<generator expression>) with list comprehension * Replaced dict(<generator expression>) with dict comprehension * Replaced set(<list literal>) with set literal * Replaced builtin func(<list comprehension>) with func(<generator expression>) when supported (e.g. any(), all(), tuple(), min(), & max())
* Issue #27117: Make colorizer htest and turtledemo work with dark theme.Terry Jan Reedy2016-05-291-1/+4
| | | | Factor out code for configuring text widget colors to a new function.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-3/+3
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Removed unused imports.Serhiy Storchaka2016-04-243-3/+0
|
* issue19075: add visual sorting algorithms to turtledemo; original code from ↵Ethan Furman2015-03-021-0/+204
| | | | Jason Yeo
* Issue #6639: Module-level turtle functions no longer raise TclError afterSerhiy Storchaka2015-02-221-0/+4
|\ | | | | | | closing the window.
| * Issue #6639: Module-level turtle functions no longer raise TclError afterSerhiy Storchaka2015-02-221-0/+4
|/ | | | closing the window.
* De-'colour'ize stdlib except for idlelib.configDialog.Terry Jan Reedy2014-10-092-3/+3
| | | | Tweak docstrigs and comments in affected functions in idlelib.configHandler.
* Issue #21933: Make Control-Mousewhell only change font size and not also scroll.Terry Jan Reedy2014-09-051-19/+21
| | | | Original patch by Serhiy Storchaka.
* Issue #22051: remove unneeded reload that allowed bad code.Terry Jan Reedy2014-09-031-2/+0
|
* Issue #21933: Users can now change the font size for example code.Terry Jan Reedy2014-09-031-22/+71
| | | | Original patch by Lita Cho.
* Issue #22065: Remove the now unsed configGUI menu parameter and arguments.Terry Jan Reedy2014-08-271-10/+8
|
* Issue #22065: Menus, unlike Menubottons, do not have a state option.Terry Jan Reedy2014-08-272-8/+7
| | | | | Since a new demo can now be loaded while one is running, adjust loadfile to do the same cleanup as stopIt.
* Issue #22065: Update turtledemo menu creation; don't use obsolete Menubutton.Terry Jan Reedy2014-08-151-27/+22
|
* #22053: actually remove .txt files from 3.4.Terry Jan Reedy2014-08-153-172/+0
|
* Issue #10291: Backport 004fe3449193 with a few changes due to 22095.Terry Jan Reedy2014-08-152-6/+103
| | | | Will forward port 22095 changes separately.
* Issue #17172: Add the ability to run turtledemo from Idle.Terry Jan Reedy2014-07-291-0/+16
| | | | | Make turtledemo start as active on Mac even when run with subprocess. Patch by Ramchandra Apt, Lita Cho, and Ned Daily.
* Modernize turtledemo with conditional expressions; remove duplicate line.Terry Jan Reedy2014-07-271-19/+6
|
* Issue #22061: remove call of useless function slated for removal.Terry Jan Reedy2014-07-251-1/+0
|
* Issue #22053: Make help work, after previous patch for this issue disabled itTerry Jan Reedy2014-07-251-17/+9
| | | | by removing global 'demo'. Refactor and remove duplicate code.
* Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.Terry Jan Reedy2014-07-231-21/+5
|
* Issue #21597: Turtledemo text pane can now be widened to view or copy completeTerry Jan Reedy2014-07-231-68/+80
| | | | | | lines or narrowed for small screens. Issie #19132: Turtledemo buttons no longer disappear when window is shrun. Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
* Issue #21882: In turtle demos, remove module scope gui and sys calls byTerry Jan Reedy2014-06-306-60/+50
| | | | either deleting or moving to the module's main function.
* Issue #14117: Inprove help text and docstrings, some for clarity, some just toTerry Jan Reedy2014-06-257-48/+60
| | | | fit in the default width of the text window (45 chars).
* Issue #21823: Catch turtle.Terminator exceptions in turtledemo.Terry Jan Reedy2014-06-223-25/+37
| | | | Add note to demohelp.txt about doing so.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-1613-0/+0
|\ | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-1613-0/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | Issue # 17177: Stop using imp in turtledemoBrett Cannon2013-06-151-1/+1
|/
* #12677: correct turtle orientation in docSandro Tosi2011-08-071-2/+2
|
* #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|
* Add the missing __main__.py in the turtledemo package. It seems to have ↵Georg Brandl2010-12-303-8/+269
| | | | been lost during some mass rename action (r86095).
* Translated German message into English.Alexander Belopolsky2010-11-011-1/+1
|
* Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵Alexander Belopolsky2010-11-011-119/+0
| | | | of directory.
* Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵Alexander Belopolsky2010-11-011-0/+119
| | | | of directory.
* Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵Alexander Belopolsky2010-11-011-0/+119
| | | | of directory.
* Issue #10199: Moved Demo/turtle under Lib/Alexander Belopolsky2010-11-0122-0/+1860