1What's New in IDLE 2.7.13? 2========================== 3*Release date: 2017-01-01?* 4 5- Issue #27854: Make Help => IDLE Help work again on Windows. 6 Include idlelib/help.html in 2.7 Windows installer. 7 8- Issue #25507: Add back import needed for 2.x encoding warning box. 9 Add pointer to 'Encoding declaration' in Language Reference. 10 11- Issue #15308: Add 'interrupt execution' (^C) to Shell menu. 12 Patch by Roger Serwy, updated by Bayard Randel. 13 14- Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen. 15 16- Issue #17642: add larger font sizes for classroom projection. 17 18- Add version to title of IDLE help window. 19 20- Issue #25564: In section on IDLE -- console differences, mention that 21 using exec means that __builtins__ is defined for each statement. 22 23- Issue #27714: text_textview and test_autocomplete now pass when re-run 24 in the same process. This occurs when test_idle fails when run with the 25 -w option but without -jn. Fix warning from test_config. 26 27- Issue #27452: add line counter and crc to IDLE configHandler test dump. 28 29- Issue #27365: Allow non-ascii chars in IDLE NEWS.txt, for contributor names. 30 31- Issue #27245: IDLE: Cleanly delete custom themes and key bindings. 32 Previously, when IDLE was started from a console or by import, a cascade 33 of warnings was emitted. Patch by Serhiy Storchaka. 34 35 36What's New in IDLE 2.7.12? 37========================== 38*Release date: 2015-06-25* 39 40- Issue #5124: Paste with text selected now replaces the selection on X11. 41 This matches how paste works on Windows, Mac, most modern Linux apps, 42 and ttk widgets. Original patch by Serhiy Storchaka. 43 44- Issue #24759: Make clear in idlelib.idle_test.__init__ that the directory 45 is a private implementation of test.test_idle and tool for maintainers. 46 47- Issue #26673: When tk reports font size as 0, change to size 10. 48 Such fonts on Linux prevented the configuration dialog from opening. 49 50- Issue #27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks. 51 52- In the 'IDLE-console differences' section of the IDLE doc, clarify 53 how running with IDLE affects sys.modules and the standard streams. 54 55- Issue #25507: fix incorrect change in IOBinding that prevented printing. 56 Change also prevented saving shell window with non-ascii characters. 57 Augment IOBinding htest to include all major IOBinding functions. 58 59- Issue #25905: Revert unwanted conversion of ' to � RIGHT SINGLE QUOTATION 60 MARK in README.txt and open this and NEWS.txt with 'ascii'. 61 Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'. 62 63- Issue #26417: Prevent spurious errors and incorrect defaults when 64 installing IDLE 2.7 on OS X: default configuration settings are 65 no longer installed from OS X specific copies. 66 67 68What's New in IDLE 2.7.11? 69========================== 70*Release date: 2015-12-06* 71 72- Issue 15348: Stop the debugger engine (normally in a user process) 73 before closing the debugger window (running in the IDLE process). 74 This prevents the RuntimeErrors that were being caught and ignored. 75 76- Issue #24455: Prevent IDLE from hanging when a) closing the shell while the 77 debugger is active (15347); b) closing the debugger with the [X] button 78 (15348); and c) activating the debugger when already active (24455). 79 The patch by Mark Roseman does this by making two changes. 80 1. Suspend and resume the gui.interaction method with the tcl vwait 81 mechanism intended for this purpose (instead of root.mainloop & .quit). 82 2. In gui.run, allow any existing interaction to terminate first. 83 84- Change 'The program' to 'Your program' in an IDLE 'kill program?' message 85 to make it clearer that the program referred to is the currently running 86 user program, not IDLE itself. 87 88- Issue #24750: Improve the appearance of the IDLE editor window status bar. 89 Patch by Mark Roseman. 90 91- Issue #25313: Change the handling of new built-in text color themes to better 92 address the compatibility problem introduced by the addition of IDLE Dark. 93 Consistently use the revised idleConf.CurrentTheme everywhere in idlelib. 94 95- Issue #24782: Extension configuration is now a tab in the IDLE Preferences 96 dialog rather than a separate dialog. The former tabs are now a sorted 97 list. Patch by Mark Roseman. 98 99- Issue #22726: Re-activate the config dialog help button with some content 100 about the other buttons and the new IDLE Dark theme. 101 102- Issue #24820: IDLE now has an 'IDLE Dark' built-in text color theme. 103 It is more or less IDLE Classic inverted, with a cobalt blue background. 104 Strings, comments, keywords, ... are still green, red, orange, ... . 105 To use it with IDLEs released before November 2015, hit the 106 'Save as New Custom Theme' button and enter a new name, 107 such as 'Custom Dark'. The custom theme will work with any IDLE 108 release, and can be modified. 109 110- Issue #25224: README.txt is now an idlelib index for IDLE developers and 111 curious users. The previous user content is now in the IDLE doc chapter. 112 'IDLE' now means 'Integrated Development and Learning Environment'. 113 114- Issue #24820: Users can now set breakpoint colors in 115 Settings -> Custom Highlighting. Original patch by Mark Roseman. 116 117- Issue #24972: Inactive selection background now matches active selection 118 background, as configured by users, on all systems. Found items are now 119 always highlighted on Windows. Initial patch by Mark Roseman. 120 121- Issue #24570: Idle: make calltip and completion boxes appear on Macs 122 affected by a tk regression. Initial patch by Mark Roseman. 123 124- Issue #24988: Idle ScrolledList context menus (used in debugger) 125 now work on Mac Aqua. Patch by Mark Roseman. 126 127- Issue #24801: Make right-click for context menu work on Mac Aqua. 128 Patch by Mark Roseman. 129 130- Issue #25173: Associate tkinter messageboxes with a specific widget. 131 For Mac OSX, make them a 'sheet'. Patch by Mark Roseman. 132 133- Issue #25198: Enhance the initial html viewer now used for Idle Help. 134 * Properly indent fixed-pitch text (patch by Mark Roseman). 135 * Give code snippet a very Sphinx-like light blueish-gray background. 136 * Re-use initial width and height set by users for shell and editor. 137 * When the Table of Contents (TOC) menu is used, put the section header 138 at the top of the screen. 139 140- Issue #25225: Condense and rewrite Idle doc section on text colors. 141 142- Issue #21995: Explain some differences between IDLE and console Python. 143 144- Issue #22820: Explain need for *print* when running file from Idle editor. 145 146- Issue #25224: Doc: augment Idle feature list and no-subprocess section. 147 148- Issue #25219: Update doc for Idle command line options. 149 Some were missing and notes were not correct. 150 151- Issue #24861: Most of idlelib is private and subject to change. 152 Use idleib.idle.* to start Idle. See idlelib.__init__.__doc__. 153 154- Issue #25199: Idle: add synchronization comments for future maintainers. 155 156- Issue #16893: Replace help.txt with help.html for Idle doc display. 157 The new idlelib/help.html is rstripped Doc/build/html/library/idle.html. 158 It looks better than help.txt and will better document Idle as released. 159 The tkinter html viewer that works for this file was written by Mark Roseman. 160 The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated. 161 162- Issue #24199: Deprecate unused idlelib.idlever with possible removal in 3.6. 163 164- Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts). 165 166- Issue #23672: Allow Idle to edit and run files with astral chars in name. 167 Patch by Mohd Sanad Zaki Rizvi. 168 169- Issue 24745: Idle editor default font. Switch from Courier to 170 platform-sensitive TkFixedFont. This should not affect current customized 171 font selections. If there is a problem, edit $HOME/.idlerc/config-main.cfg 172 and remove 'fontxxx' entries from [Editor Window]. Patch by Mark Roseman. 173 174- Issue #21192: Idle editor. When a file is run, put its name in the restart bar. 175 Do not print false prompts. Original patch by Adnan Umer. 176 177- Issue #13884: Idle menus. Remove tearoff lines. Patch by Roger Serwy. 178 179- Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for 180 decoding unicode literals. 181 182 183What's New in IDLE 2.7.10? 184========================= 185*Release date: 2015-05-23* 186 187- Issue #23583: Fixed writing unicode to standard output stream in IDLE. 188 189- Issue #20577: Configuration of the max line length for the FormatParagraph 190 extension has been moved from the General tab of the Idle preferences dialog 191 to the FormatParagraph tab of the Config Extensions dialog. 192 Patch by Tal Einat. 193 194- Issue #16893: Update Idle doc chapter to match current Idle and add new 195 information. 196 197- Issue #23180: Rename IDLE "Windows" menu item to "Window". 198 Patch by Al Sweigart. 199 200 201What's New in IDLE 2.7.9? 202========================= 203*Release date: 2014-12-10* 204 205- Issue #16893: Update Idle doc chapter to match current Idle and add new 206 information. 207 208- Issue #3068: Add Idle extension configuration dialog to Options menu. 209 Changes are written to HOME/.idlerc/config-extensions.cfg. 210 Original patch by Tal Einat. 211 212- Issue #16233: A module browser (File : Class Browser, Alt+C) requires an 213 editor window with a filename. When Class Browser is requested otherwise, 214 from a shell, output window, or 'Untitled' editor, Idle no longer displays 215 an error box. It now pops up an Open Module box (Alt+M). If a valid name 216 is entered and a module is opened, a corresponding browser is also opened. 217 218- Issue #4832: Save As to type Python files automatically adds .py to the 219 name you enter (even if your system does not display it). Some systems 220 automatically add .txt when type is Text files. 221 222- Issue #21986: Code objects are not normally pickled by the pickle module. 223 To match this, they are no longer pickled when running under Idle. 224 225- Issue #22221: IDLE now ignores the source encoding declaration on the second 226 line if the first line contains anything except a comment. 227 228- Issue #17390: Adjust Editor window title; remove 'Python', 229 move version to end. 230 231- Issue #14105: Idle debugger breakpoints no longer disappear 232 when inserting or deleting lines. 233 234 235What's New in IDLE 2.7.8? 236========================= 237*Release date: 2014-06-29* 238 239- Issue #21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav 240 Heblikar. 241 242- Issue #18592: Add unittest for SearchDialogBase. Patch by Phil Webster. 243 244- Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar. 245 246- Issue #21686: add unittest for HyperParser. Original patch by Saimadhav 247 Heblikar. 248 249- Issue #12387: Add missing upper(lower)case versions of default Windows key 250 bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy. 251 252- Issue #21695: Closing a Find-in-files output window while the search is 253 still in progress no longer closes Idle. 254 255- Issue #18910: Add unittest for textView. Patch by Phil Webster. 256 257- Issue #18292: Add unittest for AutoExpand. Patch by Saihadhav Heblikar. 258 259- Issue #18409: Add unittest for AutoComplete. Patch by Phil Webster. 260 261 262What's New in IDLE 2.7.7? 263========================= 264*Release date: 2014-05-31* 265 266- Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin 267 consolidating and improving human-validated tests of Idle. Change other files 268 as needed to work with htest. Running the module as __main__ runs all tests. 269 270- Issue #21139: Change default paragraph width to 72, the PEP 8 recommendation. 271 272- Issue #21284: Paragraph reformat test passes after user changes reformat width. 273 274- Issue #20406: Use Python application icons for Idle window title bars. 275 Patch mostly by Serhiy Storchaka. 276 277- Issue #21029: Occurrences of "print" are now consistently colored as 278 being a keyword (the colorizer doesn't know if print functions are 279 enabled in the source). 280 281- Issue #17721: Remove non-functional configuration dialog help button until we 282 make it actually gives some help when clicked. Patch by Guilherme Sim�es. 283 284- Issue #17390: Add Python version to Idle editor window title bar. 285 Original patches by Edmond Burnett and Kent Johnson. 286 287- Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. 288 289- Issue #19481: print() of unicode, str or bytearray subclass instance in IDLE 290 no more hangs. 291 292- Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial 293 shell window is present. 294 295- Issue #17654: Ensure IDLE menus are customized properly on OS X for 296 non-framework builds and for all variants of Tk. 297 298 299What's New in IDLE 2.7.6? 300========================= 301*Release date: 2013-11-10* 302 303- Issue #19426: Fixed the opening of Python source file with specified encoding. 304 305- Issue #18873: IDLE now detects Python source code encoding only in comment 306 lines. 307 308- Issue #18988: The "Tab" key now works when a word is already autocompleted. 309 310- Issue #18489: Add tests for SearchEngine. Original patch by Phil Webster. 311 312- Issue #18429: Format / Format Paragraph, now works when comment blocks 313 are selected. As with text blocks, this works best when the selection 314 only includes complete lines. 315 316- Issue #18226: Add docstrings and unittests for FormatParagraph.py. 317 Original patches by Todd Rovito and Phil Webster. 318 319- Issue #18279: Format - Strip trailing whitespace no longer marks a file as 320 changed when it has not been changed. This fix followed the addition of a 321 test file originally written by Phil Webster (the issue's main goal). 322 323- Issue #18539: Calltips now work for float default arguments. 324 325- Issue #7136: In the Idle File menu, "New Window" is renamed "New File". 326 Patch by Tal Einat, Roget Serwy, and Todd Rovito. 327 328- Issue #8515: Set __file__ when run file in IDLE. 329 Initial patch by Bruce Frederiksen. 330 331- Issue #5492: Avoid traceback when exiting IDLE caused by a race condition. 332 333- Issue #17511: Keep IDLE find dialog open after clicking "Find Next". 334 Original patch by Sarah K. 335 336- Issue #15392: Create a unittest framework for IDLE. 337 Preliminary patch by Rajagopalasarma Jayakrishnan 338 See Lib/idlelib/idle_test/README.txt for how to run Idle tests. 339 340- Issue #14146: Highlight source line while debugging on Windows. 341 342- Issue #17532: Always include Options menu for IDLE on OS X. 343 Patch by Guilherme Sim�es. 344 345 346What's New in IDLE 2.7.5? 347========================= 348*Release date: 2013-05-12* 349 350- Issue #17838: Allow sys.stdin to be reassigned. 351 352- Issue #14735: Update IDLE docs to omit "Control-z on Windows". 353 354- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit(). 355 356- Issue #17657: Show full Tk version in IDLE's about dialog. 357 Patch by Todd Rovito. 358 359- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE. 360 361- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE. 362 363- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box. 364 365- Issue #14254: IDLE now handles readline correctly across shell restarts. 366 367- Issue #17614: IDLE no longer raises exception when quickly closing a file. 368 369- Issue #6698: IDLE now opens just an editor window when configured to do so. 370 371- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer 372 raises an exception. 373 374- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. 375 376- Issue #17390: Display Python version on Idle title bar. 377 Initial patch by Edmond Burnett. 378 379 380What's New in IDLE 2.7.4? 381========================= 382*Release date: 2013-04-06* 383 384- Issue #17625: In IDLE, close the replace dialog after it is used. 385 386- IDLE was displaying spurious SystemExit tracebacks when running scripts 387 that terminated by raising SystemExit (i.e. unittest and turtledemo). 388 389- Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase 390 interface and support all mandatory methods and properties. 391 392- Issue #16829: IDLE printing no longer fails if there are spaces or other 393 special characters in the file path. 394 395- Issue #16819: IDLE method completion now correctly works for unicode literals. 396 397- Issue #16504: IDLE now catches SyntaxErrors raised by tokenizer. Patch by 398 Roger Serwy. 399 400- Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu 401 Patch by Todd Rovito. 402 403- Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog 404 ended with '\'. Patch by Roger Serwy. 405 406- Issue #9803: Don't close IDLE on saving if breakpoint is open. 407 Patch by Roger Serwy. 408 409- Issue #14958: Change IDLE systax highlighting to recognize all string and byte 410 literals currently supported in Python 2.7. 411 412- Issue #14962: Update text coloring in IDLE shell window after changing 413 options. Patch by Roger Serwy. 414 415- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. 416 417- Issue #12510: Attempting to get invalid tooltip no longer closes IDLE. 418 Original patch by Roger Serwy. 419 420- Issue #10365: File open dialog now works instead of crashing 421 even when parent window is closed. Patch by Roger Serwy. 422 423- Issue #14876: Use user-selected font for highlight configuration. 424 Patch by Roger Serwy. 425 426- Issue #14409: IDLE now properly executes commands in the Shell window 427 when it cannot read the normal config files on startup and 428 has to use the built-in default key bindings. 429 There was previously a bug in one of the defaults. 430 431- Issue #3573: IDLE hangs when passing invalid command line args 432 (directory(ies) instead of file(s)) (Patch by Guilherme Polo) 433 434- Issue #5219: Prevent event handler cascade in IDLE. 435 436- Issue #15318: Prevent writing to sys.stdin. 437 438- Issue #13532, #15319: Check that arguments to sys.stdout.write are strings. 439 440- Issue #10365: File open dialog now works instead of crashing even when 441 parent window is closed while dialog is open. 442 443- Issue #14018: Update checks for unstable system Tcl/Tk versions on OS X 444 to include versions shipped with OS X 10.7 and 10.8 in addition to 10.6. 445 446- Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu 447 with certain versions of Tk 8.5. Initial patch by Kevin Walzer. 448 449 450What's New in IDLE 2.7.3? 451========================= 452*Release date: 2012-04-09* 453 454- Issue #964437 Make IDLE help window non-modal. 455 Patch by Guilherme Polo and Roger Serwy. 456 457- Issue #13933: IDLE auto-complete did not work with some imported 458 module, like hashlib. (Patch by Roger Serwy) 459 460- Issue #13506: Add '' to path for IDLE Shell when started and restarted with Restart Shell. 461 Original patches by Marco Scataglini and Roger Serwy. 462 463- Issue #4625: If IDLE cannot write to its recent file or breakpoint 464 files, display a message popup and continue rather than crash. 465 (original patch by Roger Serwy) 466 467- Issue #8793: Prevent IDLE crash when given strings with invalid hex escape 468 sequences. 469 470- Issue #13296: Fix IDLE to clear compile __future__ flags on shell restart. 471 (Patch by Roger Serwy) 472 473- Issue #14409: IDLE now properly executes commands in the Shell window 474 when it cannot read the normal config files on startup and 475 has to use the built-in default key bindings. 476 There was previously a bug in one of the defaults. 477 478- Issue #3573: IDLE hangs when passing invalid command line args 479 (directory(ies) instead of file(s)). 480 481 482What's New in IDLE 2.7.2? 483========================= 484*Release date: 2011-06-11* 485 486- Issue #11718: IDLE's open module dialog couldn't find the __init__.py 487 file in a package. 488 489- Issue #12590: IDLE editor window now always displays the first line 490 when opening a long file. With Tk 8.5, the first line was hidden. 491 492- Issue #11088: don't crash when using F5 to run a script in IDLE on MacOSX 493 with Tk 8.5. 494 495- Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the 496 menu accelerators for Open Module, Go to Line, and New Indent Width. 497 The accelerators still work but no longer appear in the menu items. 498 499- Issue #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, rather 500 than the currently problematic Apple-supplied one, when running with the 501 64-/32-bit installer variant. 502 503- Issue #11052: Correct IDLE menu accelerators on Mac OS X for Save 504 commands. 505 506- Issue #6075: IDLE on Mac OS X now works with both Carbon AquaTk and 507 Cocoa AquaTk. 508 509- Issue #10404: Use ctl-button-1 on OSX for the context menu in Idle. 510 511- Issue #10107: Warn about unsaved files in IDLE on OSX. 512 513- Issue #10406: Enable Rstrip IDLE extension on OSX (just like on other 514 platforms). 515 516- Issue #6378: Further adjust idle.bat to start associated Python 517 518- Issue #11896: Save on Close failed despite selecting "Yes" in dialog. 519 520- Issue #4676: <Home> toggle failing on Tk 8.5, causing IDLE exits and 521 strange selection behavior. Improve selection extension behaviour. 522 523- Issue #3851 <Home> toggle non-functional when NumLock set on Windows. 524 525 526What's New in Python 2.7.1? 527=========================== 528*Release date: 2010-11-27* 529 530- Issue #6378: idle.bat now runs with the appropriate Python version rather than 531 the system default. Patch by Sridhar Ratnakumar. 532 533 534What's New in IDLE 2.7? 535======================= 536*Release date: 2010-07-03* 537 538- Issue #5150: IDLE's format menu now has an option to strip trailing 539 whitespace. 540 541- Issue #5847: Remove -n switch on "Edit with IDLE" menu item. 542 543- idle.py modified and simplified to better support developing experimental 544 versions of IDLE which are not installed in the standard location. 545 546- Issue #5559: OutputWindow/PyShell right click menu "Go to file/line" 547 wasn't working with file paths containing spaces. 548 549- Issue #5783: Windows: Version string for the .chm help file changed, 550 file not being accessed Patch by Guilherme Polo/ 551 552- Issue #1529142: Allow multiple IDLE GUI/subprocess pairs to exist 553 simultaneously. Thanks to David Scherer for suggesting the use of an 554 ephemeral port for the GUI. Patch by Weeble. 555 556- Remove port spec from run.py and fix bug where subprocess fails to 557 extract port from command line when warnings are present. 558 559- Issue #5129: Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr 560 to handle mixed space/tab properly. Patch by Guilherme Polo. 561 562- Issue #3549: On MacOS the preferences menu was not present 563 564 565What's New in IDLE 2.6? 566======================= 567*Release date: 01-Oct-2008* 568 569- Issue #2665: On Windows, an IDLE installation upgraded from an old version 570 would not start if a custom theme was defined. 571 572- Home / Control-A toggles between left margin and end of leading white 573 space. Patch 1196903 Jeff Shute. 574 575- Improved AutoCompleteWindow logic. Patch 2062 Tal Einat. 576 577- Autocompletion of filenames now support alternate separators, e.g. the 578 '/' char on Windows. Patch 2061 Tal Einat. 579 580- Configured selection highlighting colors were ignored; updating highlighting 581 in the config dialog would cause non-Python files to be colored as if they 582 were Python source; improve use of ColorDelagator. Patch 1334. Tal Einat. 583 584- ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat. 585 586- There was an error on exit if no sys.exitfunc was defined. Issue 1647. 587 588- Could not open files in .idlerc directory if latter was hidden on Windows. 589 Issue 1743, Issue 1862. 590 591- Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. 592 593- tabpage.py updated: tabbedPages.py now supports multiple dynamic rows 594 of tabs. Patch 1612746 Tal Einat. 595 596- Add confirmation dialog before printing. Patch 1717170 Tal Einat. 597 598- Show paste position if > 80 col. Patch 1659326 Tal Einat. 599 600- Update cursor color without restarting. Patch 1725576 Tal Einat. 601 602- Allow keyboard interrupt only when user code is executing in subprocess. 603 Patch 1225 Tal Einat (reworked from IDLE-Spoon). 604 605- configDialog cleanup. Patch 1730217 Tal Einat. 606 607- textView cleanup. Patch 1718043 Tal Einat. 608 609- Clean up EditorWindow close. 610 611- Patch 1693258: Fix for duplicate "preferences" menu-OS X. Backport of r56204. 612 613- OSX: Avoid crash for those versions of Tcl/Tk which don't have a console 614 615- Bug in idlelib.MultiCall: Options dialog was crashing IDLE if there was an 616 option in config-extensions w/o a value. Patch #1672481, Tal Einat 617 618- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented; 619 mouse and cursor selection in ACWindow implemented; double Tab inserts 620 current selection and closes ACW (similar to double-click and Return); scroll 621 wheel now works in ACW. Added AutoComplete instructions to IDLE Help. 622 623- AutoCompleteWindow moved below input line, will move above if there 624 isn't enough space. Patch 1621265 Tal Einat 625 626- Calltips now 'handle' tuples in the argument list (display '<tuple>' :) 627 Suggested solution by Christos Georgiou, Bug 791968. 628 629- Add 'raw' support to configHandler. Patch 1650174 Tal Einat. 630 631- Avoid hang when encountering a duplicate in a completion list. Bug 1571112. 632 633- Patch #1362975: Rework CodeContext indentation algorithm to 634 avoid hard-coding pixel widths. 635 636- Bug #813342: Start the IDLE subprocess with -Qnew if the parent 637 is started with that option. 638 639- Honor the "Cancel" action in the save dialog (Debian bug #299092) 640 641- Some syntax errors were being caught by tokenize during the tabnanny 642 check, resulting in obscure error messages. Do the syntax check 643 first. Bug 1562716, 1562719 644 645- IDLE's version number takes a big jump to match the version number of 646 the Python release of which it's a part. 647 648 649What's New in IDLE 1.2? 650======================= 651*Release date: 19-SEP-2006* 652 653- File menu hotkeys: there were three 'p' assignments. Reassign the 654 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the 655 Shell hotkey from 's' to 'l'. 656 657- IDLE honors new quit() and exit() commands from site.py Quitter() object. 658 Patch 1540892, Jim Jewett 659 660- The 'with' statement is now a Code Context block opener. 661 Patch 1540851, Jim Jewett 662 663- Retrieval of previous shell command was not always preserving indentation 664 (since 1.2a1) Patch 1528468 Tal Einat. 665 666- Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1) 667 668- ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1). 669 670- When used w/o subprocess, all exceptions were preceded by an error 671 message claiming they were IDLE internal errors (since 1.2a1). 672 673- Bug #1525817: Don't truncate short lines in IDLE's tool tips. 674 675- Bug #1517990: IDLE keybindings on MacOS X now work correctly 676 677- Bug #1517996: IDLE now longer shows the default Tk menu when a 678 path browser, class browser or debugger is the frontmost window on MacOS X 679 680- EditorWindow.test() was failing. Bug 1417598 681 682- EditorWindow failed when used stand-alone if sys.ps1 not set. 683 Bug 1010370 Dave Florek 684 685- Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie 686 687- Avoid occasional failure to detect closing paren properly. 688 Patch 1407280 Tal Einat 689 690- Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. 691 692- Colorizer now handles #<builtin> correctly, also unicode strings and 693 'as' keyword in comment directly following import command. Closes 1325071. 694 Patch 1479219 Tal Einat 695 696- Patch #1162825: Support non-ASCII characters in IDLE window titles. 697 698- Source file f.flush() after writing; trying to avoid lossage if user 699 kills GUI. 700 701- Options / Keys / Advanced dialog made functional. Also, allow binding 702 of 'movement' keys. 703 704- 'syntax' patch adds improved calltips and a new class attribute listbox. 705 MultiCall module allows binding multiple actions to an event. 706 Patch 906702 Noam Raphael 707 708- Better indentation after first line of string continuation. 709 IDLEfork Patch 681992, Noam Raphael 710 711- Fixed CodeContext alignment problem, following suggestion from Tal Einat. 712 713- Increased performance in CodeContext extension Patch 936169 Noam Raphael 714 715- Mac line endings were incorrect when pasting code from some browsers 716 when using X11 and the Fink distribution. Python Bug 1263656. 717 718- <Enter> when cursor is on a previous command retrieves that command. Instead 719 of replacing the input line, the previous command is now appended to the 720 input line. Indentation is preserved, and undo is enabled. 721 Patch 1196917 Jeff Shute 722 723- Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with 724 the Untabify command. 725 726- Corrected "tab/space" Error Dialog to show correct menu for Untabify. 727 Patch 1196980 Jeff Shute 728 729- New files are colorized by default, and colorizing is removed when 730 saving as non-Python files. Patch 1196895 Jeff Shute 731 Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524 732 733- Improve subprocess link error notification. 734 735- run.py: use Queue's blocking feature instead of sleeping in the main 736 loop. Patch # 1190163 Michiel de Hoon 737 738- Add config-main option to make the 'history' feature non-cyclic. 739 Default remains cyclic. Python Patch 914546 Noam Raphael. 740 741- Removed ability to configure tabs indent from Options dialog. This 'feature' 742 has never worked and no one has complained. It is still possible to set a 743 default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on 744 tabs for the current EditorWindow via the Format menu) but IDLE will 745 encourage indentation via spaces. 746 747- Enable setting the indentation width using the Options dialog. 748 Bug # 783877 749 750- Add keybindings for del-word-left and del-word-right. 751 752- Discourage using an indent width other than 8 when using tabs to indent 753 Python code. 754 755- Restore use of EditorWindow.set_indentation_params(), was dead code since 756 Autoindent was merged into EditorWindow. This allows IDLE to conform to the 757 indentation width of a loaded file. (But it still will not switch to tabs 758 even if the file uses tabs.) Any change in indent width is local to that 759 window. 760 761- Add Tabnanny check before Run/F5, not just when Checking module. 762 763- If an extension can't be loaded, print warning and skip it instead of 764 erroring out. 765 766- Improve error handling when .idlerc can't be created (warn and exit). 767 768- The GUI was hanging if the shell window was closed while a raw_input() 769 was pending. Restored the quit() of the readline() mainloop(). 770 http://mail.python.org/pipermail/idle-dev/2004-December/002307.html 771 772- The remote procedure call module rpc.py can now access data attributes of 773 remote registered objects. Changes to these attributes are local, however. 774 775 776What's New in IDLE 1.1? 777======================= 778*Release date: 30-NOV-2004* 779 780- On OpenBSD, terminating IDLE with ctrl-c from the command line caused a 781 stuck subprocess MainThread because only the SocketThread was exiting. 782 783- Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set" 784 button) caused IDLE to fail on restart (no new keyset was created in 785 config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535. 786 787- A change to the linecache.py API caused IDLE to exit when an exception was 788 raised while running without the subprocess (-n switch). Python Bug 1063840. 789 790- When paragraph reformat width was made configurable, a bug was 791 introduced that caused reformatting of comment blocks to ignore how 792 far the block was indented, effectively adding the indentation width 793 to the reformat width. This has been repaired, and the reformat 794 width is again a bound on the total width of reformatted lines. 795 796- Improve keyboard focus binding, especially in Windows menu. Improve 797 window raising, especially in the Windows menu and in the debugger. 798 IDLEfork 763524. 799 800- If user passes a non-existent filename on the commandline, just 801 open a new file, don't raise a dialog. IDLEfork 854928. 802 803- EditorWindow.py was not finding the .chm help file on Windows. Typo 804 at Rev 1.54. Python Bug 990954 805 806- checking sys.platform for substring 'win' was breaking IDLE docs on Mac 807 (darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580. 808 809- Redirect the warning stream to the shell during the ScriptBinding check of 810 user code and format the warning similarly to an exception for both that 811 check and for runtime warnings raised in the subprocess. 812 813- CodeContext hint pane visibility state is now persistent across sessions. 814 The pane no longer appears in the shell window. Added capability to limit 815 extensions to shell window or editor windows. Noam Raphael addition 816 to Patch 936169. 817 818- Paragraph reformat width is now a configurable parameter in the 819 Options GUI. 820 821- New Extension: CodeContext. Provides block structuring hints for code 822 which has scrolled above an edit window. Patch 936169 Noam Raphael. 823 824- If nulls somehow got into the strings in recent-files.lst 825 EditorWindow.update_recent_files_list() was failing. Python Bug 931336. 826 827- If the normal background is changed via Configure/Highlighting, it will 828 update immediately, thanks to the previously mentioned patch by Nigel Rowe. 829 830- Add a highlight theme for builtin keywords. Python Patch 805830 Nigel Rowe 831 This also fixed IDLEfork bug [ 693418 ] Normal text background color not 832 refreshed and Python bug [897872 ] Unknown color name on HP-UX 833 834- rpc.py:SocketIO - Large modules were generating large pickles when downloaded 835 to the execution server. The return of the OK response from the subprocess 836 initialization was interfering and causing the sending socket to be not 837 ready. Add an IO ready test to fix this. Moved the polling IO ready test 838 into pollpacket(). 839 840- Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError". 841 842- Added a Tk error dialog to run.py inform the user if the subprocess can't 843 connect to the user GUI process. Added a timeout to the GUI's listening 844 socket. Added Tk error dialogs to PyShell.py to announce a failure to bind 845 the port or connect to the subprocess. Clean up error handling during 846 connection initiation phase. This is an update of Python Patch 778323. 847 848- Print correct exception even if source file changed since shell was 849 restarted. IDLEfork Patch 869012 Noam Raphael 850 851- Keybindings with the Shift modifier now work correctly. So do bindings which 852 use the Space key. Limit unmodified user keybindings to the function keys. 853 Python Bug 775353, IDLEfork Bugs 755647, 761557 854 855- After an exception, run.py was not setting the exception vector. Noam 856 Raphael suggested correcting this so pdb's postmortem pm() would work. 857 IDLEfork Patch 844675 858 859- IDLE now does not fail to save the file anymore if the Tk buffer is not a 860 Unicode string, yet eol_convention is. Python Bugs 774680, 788378 861 862- IDLE didn't start correctly when Python was installed in "Program Files" on 863 W2K and XP. Python Bugs 780451, 784183 864 865- config-main.def documentation incorrectly referred to idle- instead of 866 config- filenames. SF 782759 Also added note about .idlerc location. 867 868 869What's New in IDLE 1.0? 870======================= 871*Release date: 29-Jul-2003* 872 873- Calltip error when docstring was None Python Bug 775541 874 875- Updated extend.txt, help.txt, and config-extensions.def to correctly 876 reflect the current status of the configuration system. Python Bug 768469 877 878- Fixed: Call Tip Trimming May Loop Forever. Python Patch 769142 (Daniels) 879 880- Replaced apply(f, args, kwds) with f(*args, **kwargs) to improve performance 881 Python Patch 768187 882 883- Break or continue statements outside a loop were causing IDLE crash 884 Python Bug 767794 885 886- Convert Unicode strings from readline to IOBinding.encoding. Also set 887 sys.std{in|out|err}.encoding, for both the local and the subprocess case. 888 SF IDLEfork patch 682347. 889 890- Extend AboutDialog.ViewFile() to support file encodings. Make the CREDITS 891 file Latin-1. 892 893- Updated the About dialog to reflect re-integration into Python. Provide 894 buttons to display Python's NEWS, License, and Credits, plus additional 895 buttons for IDLE's README and NEWS. 896 897- TextViewer() now has a third parameter which allows inserting text into the 898 viewer instead of reading from a file. 899 900- (Created the .../Lib/idlelib directory in the Python CVS, which is a clone of 901 IDLEfork modified to install in the Python environment. The code in the 902 interrupt module has been moved to thread.interrupt_main(). ) 903 904- Printing the Shell window was failing if it was not saved first SF 748975 905 906- When using the Search in Files dialog, if the user had a selection 907 highlighted in his Editor window, insert it into the dialog search field. 908 909- The Python Shell entry was disappearing from the Windows menu. 910 911- Update the Windows file list when a file name change occurs 912 913- Change to File / Open Module: always pop up the dialog, using the current 914 selection as the default value. This is easier to use habitually. 915 916- Avoided a problem with starting the subprocess when 'localhost' doesn't 917 resolve to the user's loopback interface. SF 747772 918 919- Fixed an issue with highlighted errors never de-colorizing. SF 747677. Also 920 improved notification of Tabnanny Token Error. 921 922- File / New will by default save in the directory of the Edit window from 923 which it was initiated. SF 748973 Guido van Rossum patch. 924 925 926What's New in IDLEfork 0.9b1? 927============================= 928*Release date: 02-Jun-2003* 929 930- The current working directory of the execution environment (and shell 931 following completion of execution) is now that of the module being run. 932 933- Added the delete-exitfunc option to config-main.def. (This option is not 934 included in the Options dialog.) Setting this to True (the default) will 935 cause IDLE to not run sys.exitfunc/atexit when the subprocess exits. 936 937- IDLE now preserves the line ending codes when editing a file produced on 938 a different platform. SF 661759, SF 538584 939 940- Reduced default editor font size to 10 point and increased window height 941 to provide a better initial impression on Windows. 942 943- Options / Fonts/Tabs / Set Base Editor Font: List box was not highlighting 944 the default font when first installed on Windows. SF 661676 945 946- Added Autosave feature: when user runs code from edit window, if the file 947 has been modified IDLE will silently save it if Autosave is enabled. The 948 option is set in the Options dialog, and the default is to prompt the 949 user to save the file. SF 661318 Bruce Sherwood patch. 950 951- Improved the RESTART annotation in the shell window when the user restarts 952 the shell while it is generating output. Also improved annotation when user 953 repeatedly hammers the Ctrl-F6 restart. 954 955- Allow IDLE to run when not installed and cwd is not the IDLE directory 956 SF Patch 686254 "Run IDLEfork from any directory without set-up" - Raphael 957 958- When a module is run from an EditorWindow: if its directory is not in 959 sys.path, prepend it. This allows the module to import other modules in 960 the same directory. Do the same for a script run from the command line. 961 962- Correctly restart the subprocess if it is running user code and the user 963 attempts to run some other module or restarts the shell. Do the same if 964 the link is broken and it is possible to restart the subprocess and re- 965 connect to the GUI. SF RFE 661321. 966 967- Improved exception reporting when running commands or scripts from the 968 command line. 969 970- Added a -n command line switch to start IDLE without the subprocess. 971 Removed the Shell menu when running in that mode. Updated help messages. 972 973- Added a comment to the shell startup header to indicate when IDLE is not 974 using the subprocess. 975 976- Restore the ability to run without the subprocess. This can be important for 977 some platforms or configurations. (Running without the subprocess allows the 978 debugger to trace through parts of IDLE itself, which may or may not be 979 desirable, depending on your point of view. In addition, the traditional 980 reload/import tricks must be use if user source code is changed.) This is 981 helpful for developing IDLE using IDLE, because one instance can be used to 982 edit the code and a separate instance run to test changes. (Multiple 983 concurrent IDLE instances with subprocesses is a future feature) 984 985- Improve the error message a user gets when saving a file with non-ASCII 986 characters and no source encoding is specified. Done by adding a dialog 987 'EncodingMessage', which contains the line to add in a fixed-font entry 988 widget, and which has a button to add that line to the file automatically. 989 Also, add a configuration option 'EditorWindow/encoding', which has three 990 possible values: none, utf-8, and locale. None is the default: IDLE will show 991 this dialog when non-ASCII characters are encountered. utf-8 means that files 992 with non-ASCII characters are saved as utf-8-with-bom. locale means that 993 files are saved in the locale's encoding; the dialog is only displayed if the 994 source contains characters outside the locale's charset. SF 710733 - Loewis 995 996- Improved I/O response by tweaking the wait parameter in various 997 calls to signal.signal(). 998 999- Implemented a threaded subprocess which allows interrupting a pass 1000 loop in user code using the 'interrupt' extension. User code runs 1001 in MainThread, while the RPCServer is handled by SockThread. This is 1002 necessary because Windows doesn't support signals. 1003 1004- Implemented the 'interrupt' extension module, which allows a subthread 1005 to raise a KeyboardInterrupt in the main thread. 1006 1007- Attempting to save the shell raised an error related to saving 1008 breakpoints, which are not implemented in the shell 1009 1010- Provide a correct message when 'exit' or 'quit' are entered at the 1011 IDLE command prompt SF 695861 1012 1013- Eliminate extra blank line in shell output caused by not flushing 1014 stdout when user code ends with an unterminated print. SF 695861 1015 1016- Moved responsibility for exception formatting (i.e. pruning IDLE internal 1017 calls) out of rpc.py into the client and server. 1018 1019- Exit IDLE cleanly even when doing subprocess I/O 1020 1021- Handle subprocess interrupt with an RPC message. 1022 1023- Restart the subprocess if it terminates itself. (VPython programs do that) 1024 1025- Support subclassing of exceptions, including in the shell, by moving the 1026 exception formatting to the subprocess. 1027 1028 1029What's New in IDLEfork 0.9 Alpha 2? 1030=================================== 1031*Release date: 27-Jan-2003* 1032 1033- Updated INSTALL.txt to claify use of the python2 rpm. 1034 1035- Improved formatting in IDLE Help. 1036 1037- Run menu: Replace "Run Script" with "Run Module". 1038 1039- Code encountering an unhandled exception under the debugger now shows 1040 the correct traceback, with IDLE internal levels pruned out. 1041 1042- If an exception occurs entirely in IDLE, don't prune the IDLE internal 1043 modules from the traceback displayed. 1044 1045- Class Browser and Path Browser now use Alt-Key-2 for vertical zoom. 1046 1047- IDLE icons will now install correctly even when setup.py is run from the 1048 build directory 1049 1050- Class Browser now compatible with Python2.3 version of pyclbr.py 1051 1052- Left cursor move in presence of selected text now moves from left end 1053 of the selection. 1054 1055- Add Meta keybindings to "IDLE Classic Windows" to handle reversed 1056 Alt/Meta on some Linux distros. 1057 1058- Change default: IDLE now starts with Python Shell. 1059 1060- Removed the File Path from the Additional Help Sources scrolled list. 1061 1062- Add capability to access Additional Help Sources on the web if the 1063 Help File Path begins with //http or www. (Otherwise local path is 1064 validated, as before.) 1065 1066- Additional Help Sources were not being posted on the Help menu in the 1067 order entered. Implement sorting the list by [HelpFiles] 'option' 1068 number. 1069 1070- Add Browse button to New Help Source dialog. Arrange to start in 1071 Python/Doc if platform is Windows, otherwise start in current directory. 1072 1073- Put the Additional Help Sources directly on the Help menu instead of in 1074 an Extra Help cascade menu. Rearrange the Help menu so the Additional 1075 Help Sources come last. Update help.txt appropriately. 1076 1077- Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py 1078 1079- Uniform capitalization in General tab of ConfigDialog, update the doc string. 1080 1081- Fix bug in ConfigDialog where SaveAllChangedConfig() was unexpectedly 1082 deleting Additional Help Sources from the user's config file. 1083 1084- Make configHelpSourceEdit OK button the default and bind <Return> 1085 1086- Fix Tk root pop-ups in configHelpSourceEdit: error dialogs not attached 1087 to parents. 1088 1089- Use os.startfile() to open both Additional Help and Python Help on the 1090 Windows platform. The application associated with the file type will act as 1091 the viewer. Windows help files (.chm) are now supported via the 1092 Settings/General/Additional Help facility. 1093 1094- If Python Help files are installed locally on Linux, use them instead of 1095 accessing python.org. 1096 1097- Make the methods for finding the Python help docs more robust, and make 1098 them work in the installed configuration, also. 1099 1100- On the Save Before Run dialog, make the OK button the default. One 1101 less mouse action! 1102 1103- Add a method: EditorWindow.get_geometry() for future use in implementing 1104 window location persistence. 1105 1106- Removed the "Help/Advice" menu entry. Thanks, David! We'll remember! 1107 1108- Change the "Classic Windows" theme's paste key to be <ctrl-v>. 1109 1110- Rearrange the Shell menu to put Stack Viewer entries adjacent. 1111 1112- Add the ability to restart the subprocess interpreter from the shell window; 1113 add an associated menu entry "Shell/Restart" with binding Control-F6. Update 1114 IDLE help. 1115 1116- Upon a restart, annotate the shell window with a "restart boundary". Add a 1117 shell window menu "Shell/View Restart" with binding F6 to jump to the most 1118 recent restart boundary. 1119 1120- Add Shell menu to Python Shell; change "Settings" to "Options". 1121 1122- Remove incorrect comment in setup.py: IDLEfork is now installed as a package. 1123 1124- Add INSTALL.txt, HISTORY.txt, NEWS.txt to installed configuration. 1125 1126- In installer text, fix reference to Visual Python, should be VPython. 1127 Properly credit David Scherer. 1128 1129- Modified idle, idle.py, idle.pyw to improve exception handling. 1130 1131 1132What's New in IDLEfork 0.9 Alpha 1? 1133=================================== 1134*Release date: 31-Dec-2002* 1135 1136- First release of major new functionality. For further details refer to 1137 Idle-dev and/or the Sourceforge CVS. 1138 1139- Adapted to the Mac platform. 1140 1141- Overhauled the IDLE startup options and revised the idle -h help message, 1142 which provides details of command line usage. 1143 1144- Multiple bug fixes and usability enhancements. 1145 1146- Introduced the new RPC implementation, which includes a debugger. The output 1147 of user code is to the shell, and the shell may be used to inspect the 1148 environment after the run has finished. (In version 0.8.1 the shell 1149 environment was separate from the environment of the user code.) 1150 1151- Introduced the configuration GUI and a new About dialog. 1152 1153- Removed David Scherer's Remote Procedure Call code and replaced with Guido 1154 van Rossum's. GvR code has support for the IDLE debugger and uses the shell 1155 to inspect the environment of code Run from an Edit window. Files removed: 1156 ExecBinding.py, loader.py, protocol.py, Remote.py, spawn.py 1157 1158-------------------------------------------------------------------- 1159Refer to HISTORY.txt for additional information on earlier releases. 1160-------------------------------------------------------------------- 1161 1162 1163 1164 1165 1166