Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -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 Stinner | 2017-11-28 | 1 | -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 Stinner | 2017-10-17 | 6 | -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 Dufresne | 2017-05-18 | 1 | -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 Reedy | 2016-05-29 | 1 | -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 Reedy | 2016-05-28 | 1 | -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 Storchaka | 2016-04-24 | 3 | -3/+0 |
| | |||||
* | issue19075: add visual sorting algorithms to turtledemo; original code from ↵ | Ethan Furman | 2015-03-02 | 1 | -0/+204 |
| | | | | Jason Yeo | ||||
* | Issue #6639: Module-level turtle functions no longer raise TclError after | Serhiy Storchaka | 2015-02-22 | 1 | -0/+4 |
|\ | | | | | | | closing the window. | ||||
| * | Issue #6639: Module-level turtle functions no longer raise TclError after | Serhiy Storchaka | 2015-02-22 | 1 | -0/+4 |
|/ | | | | closing the window. | ||||
* | De-'colour'ize stdlib except for idlelib.configDialog. | Terry Jan Reedy | 2014-10-09 | 2 | -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 Reedy | 2014-09-05 | 1 | -19/+21 |
| | | | | Original patch by Serhiy Storchaka. | ||||
* | Issue #22051: remove unneeded reload that allowed bad code. | Terry Jan Reedy | 2014-09-03 | 1 | -2/+0 |
| | |||||
* | Issue #21933: Users can now change the font size for example code. | Terry Jan Reedy | 2014-09-03 | 1 | -22/+71 |
| | | | | Original patch by Lita Cho. | ||||
* | Issue #22065: Remove the now unsed configGUI menu parameter and arguments. | Terry Jan Reedy | 2014-08-27 | 1 | -10/+8 |
| | |||||
* | Issue #22065: Menus, unlike Menubottons, do not have a state option. | Terry Jan Reedy | 2014-08-27 | 2 | -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 Reedy | 2014-08-15 | 1 | -27/+22 |
| | |||||
* | #22053: actually remove .txt files from 3.4. | Terry Jan Reedy | 2014-08-15 | 3 | -172/+0 |
| | |||||
* | Issue #10291: Backport 004fe3449193 with a few changes due to 22095. | Terry Jan Reedy | 2014-08-15 | 2 | -6/+103 |
| | | | | Will forward port 22095 changes separately. | ||||
* | Issue #17172: Add the ability to run turtledemo from Idle. | Terry Jan Reedy | 2014-07-29 | 1 | -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 Reedy | 2014-07-27 | 1 | -19/+6 |
| | |||||
* | Issue #22061: remove call of useless function slated for removal. | Terry Jan Reedy | 2014-07-25 | 1 | -1/+0 |
| | |||||
* | Issue #22053: Make help work, after previous patch for this issue disabled it | Terry Jan Reedy | 2014-07-25 | 1 | -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 Reedy | 2014-07-23 | 1 | -21/+5 |
| | |||||
* | Issue #21597: Turtledemo text pane can now be widened to view or copy complete | Terry Jan Reedy | 2014-07-23 | 1 | -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 by | Terry Jan Reedy | 2014-06-30 | 6 | -60/+50 |
| | | | | either deleting or moving to the module's main function. | ||||
* | Issue #14117: Inprove help text and docstrings, some for clarity, some just to | Terry Jan Reedy | 2014-06-25 | 7 | -48/+60 |
| | | | | fit in the default width of the text window (45 chars). | ||||
* | Issue #21823: Catch turtle.Terminator exceptions in turtledemo. | Terry Jan Reedy | 2014-06-22 | 3 | -25/+37 |
| | | | | Add note to demohelp.txt about doing so. | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 13 | -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 which | Serhiy Storchaka | 2014-01-16 | 13 | -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 turtledemo | Brett Cannon | 2013-06-15 | 1 | -1/+1 |
|/ | |||||
* | #12677: correct turtle orientation in doc | Sandro Tosi | 2011-08-07 | 1 | -2/+2 |
| | |||||
* | #11565: Merge with 3.1. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Add the missing __main__.py in the turtledemo package. It seems to have ↵ | Georg Brandl | 2010-12-30 | 3 | -8/+269 |
| | | | | been lost during some mass rename action (r86095). | ||||
* | Translated German message into English. | Alexander Belopolsky | 2010-11-01 | 1 | -1/+1 |
| | |||||
* | Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵ | Alexander Belopolsky | 2010-11-01 | 1 | -119/+0 |
| | | | | of directory. | ||||
* | Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵ | Alexander Belopolsky | 2010-11-01 | 1 | -0/+119 |
| | | | | of directory. | ||||
* | Issue #10199: Fixing r86095 - svn did not like combining rename and change ↵ | Alexander Belopolsky | 2010-11-01 | 1 | -0/+119 |
| | | | | of directory. | ||||
* | Issue #10199: Moved Demo/turtle under Lib/ | Alexander Belopolsky | 2010-11-01 | 22 | -0/+1860 |