[issue45804] IDLE - faster shell writing

2021-11-14 Thread Roger Serwy
Roger Serwy added the comment: All good questions, Terry! I do have a git clone of the cpython repo, but I haven't worked through the new commit/patch process since Mercurial. I'm a bit rusty. The buffering provided is for calls to `write`. It does not do any line buffering. Calls

[issue45804] IDLE - faster shell writing

2021-11-13 Thread Roger Serwy
New submission from Roger Serwy : The shell provided by IDLE uses synchronous sys.stdout.write() calls between the subprocess and the front-end, leading to very slow writes. The provided patch proposes buffering the stdout/stderr streams in the subprocess and then sending a single update

[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2018-11-01 Thread Roger Serwy
Roger Serwy added the comment: I am closing this issue. For future reference, IDLEX is a separate project from IDLE. Please refer IDLEX bugs to the project developer (me). -- assignee: -> terry.reedy components: +IDLE -Interpreter Core, Windows nosy: +roger.serwy, terry.reedy st

[issue33000] IDLE Doc: Text consumes unlimited RAM, consoles likely not

2018-11-01 Thread Roger Serwy
Roger Serwy added the comment: Big Stone: Yes, IDLEX does have a slow memory leak. Please check if this bug is happening with IDLE itself. Terry: Thanks for responding to this. I suggest this issue can be closed. -- nosy: +roger.serwy ___ Python

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-08-28 Thread Roger Serwy
Roger Serwy added the comment: When it comes to the checkmark next to Code Context in the menu, be aware of issue13179. You can launch IDLE, open two separate editors, enable Code Context in one, and the other will have its menu entry checked as well when it is not enabled

[issue6143] IDLE - an extension to clear the shell window

2014-02-11 Thread Roger Serwy
Roger Serwy added the comment: Removing text before iomark can be done by using the underlying Text widget directly. See how the Squeezer extension does this in issue1529353. This should simplify the implementation significantly. I agree that the underlying .delete can be called directly

[issue18988] Tab key doesn't work sometimes.

2013-09-09 Thread Roger Serwy
Roger Serwy added the comment: LGTM. I manually tested it by assigning a = 1 and then pressing tab at after a, aa, aaa, and a, and then pressing tab afterwards. Tab works to complete the name, and then afterwards when it has been replaced with a

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-17 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +roger.serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18226 ___ ___ Python-bugs-list

[issue18288] Idle 2.7: Run Module does not set __file__

2013-06-30 Thread Roger Serwy
Roger Serwy added the comment: See issue8515. The patch was not applied to 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18288

[issue18318] Idle: stop depending on console output

2013-06-30 Thread Roger Serwy
Roger Serwy added the comment: This looks similar to issue13582 with the patch to redirect console writes to a GUI text box. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18318

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue as the original problem reported has been resolved. -- stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17838

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: I noticed that the tracebacks didn't occur in 2.7 due to 872a3aca2120, but that patch was not grafted onto the 3.x branches. I'll take care of that. With #13495 fixed, the two errors mentioned in msg187323 do not occur with the _rev1 patch applied

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: This issue is now fixed. Thank you everyone for helping! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5492

[issue18196] IDLE: forward apply patch for handling SystemExit

2013-06-11 Thread Roger Serwy
New submission from Roger Serwy: As a formality, I opened this issue to apply 872a3aca2120 to the 3.x branch. This addresses a concern brought up by Terry in msg187323 from issue5492. Here's the relevant part of the message: Without or with patch, quit() or exit brings up TK box

[issue18196] IDLE: forward apply patch for handling SystemExit

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: And it's applied. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18196

[issue17511] Idle find function closes after each find operation

2013-06-10 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue as fixed. Thank you for the patch, Sarah. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: The problem I'm encountering is that tk.splitlist() is now being given a Tcl_Obj instead of a str type. Since everything is Tcl is a string, explicitly casting a Tcl_Obj to a string seems reasonable. Attached is some proof-of-concept code to work around

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: LGTM. Thanks Todd! -- assignee: - roger.serwy stage: needs patch - commit review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7136

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: I'm running Win7 64-bit in a VM. The steps for me was to start with a system without any Python version installed. Install 3.3.1 32-bit, and then install 3.3.2 32-bit. IDLE launches with a red Tk icon and pinning it to the task bar does not actually pin IDLE

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-28 Thread Roger Serwy
Roger Serwy added the comment: For me, 3.3.2 32-bit won't pin to the taskbar, but 3.3.1 can. Running lnk-parser on the .lnk files for IDLE reveal no obvious differences. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18052

[issue17511] Idle find function closes after each find operation

2013-05-28 Thread Roger Serwy
Roger Serwy added the comment: I debated whether or not to leave #14146 as pending or to close it out altogether. I'd rather not let the design decisions of Tk dictate inconsistent cross-platform behavior for IDLE, but I'm willing to hear Tk's rationale and possible fix for that problem. I

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Roger Serwy
Roger Serwy added the comment: There are many X11 applications that replace the selection with pasted text. GTK and Qt widgets behave that way. Here's a brief list: gedit (GTK), gummi (GTK), kate (Qt), texmaker (Qt). Tkinter, for me, has become increasingly frustrating due to these subtle

[issue18055] Stop using imp in IDLE

2013-05-25 Thread Roger Serwy
Roger Serwy added the comment: @Brett, I agree that IDLE should not be using deprecated modules. I don't know all the ins and outs of the import machinery of Python, so I'll defer to your expertise in that area. :-) @Terry, I have never used this IDLE feature before, so I don't know all it's

[issue17658] pythonw.exe crashes on opening IDLE

2013-05-25 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue due since it's root problem is a misconfigured environment variable. -- resolution: - works for me status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17658] pythonw.exe crashes on opening IDLE

2013-05-25 Thread Roger Serwy
Roger Serwy added the comment: s/it's/its -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17658 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-20 Thread Roger Serwy
Roger Serwy added the comment: I committed the Tk workaround for the Windows platform. I'm leaving this issue as pending with a resolution of later in case Tk developers address the bug report mentioned in msg185632. If anyone else wishes to close it, feel free. -- resolution

[issue17511] Idle find function closes after each find operation

2013-05-20 Thread Roger Serwy
Roger Serwy added the comment: issue_17511_FindNext_rev1.patch keeps the find dialog open and changes the button from Find to Find Next. The applied patch from #14146 corrects the selection tag highlighting issue. -- Added file: http://bugs.python.org/file30329

[issue17658] pythonw.exe crashes on opening IDLE

2013-05-20 Thread Roger Serwy
Roger Serwy added the comment: Patrick, does removing PYTHONPATH from your environment variables fix this problem? -- nosy: +roger.serwy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17658

[issue3559] Pasted \n not same as typed \n

2013-05-19 Thread Roger Serwy
Roger Serwy added the comment: The core problem is that IDLE only executes the shell buffer when the newline-and-indent virtual event gets sent by physically pressing the Enter key. Pasting the clipboard contents with \n will not trigger the enter_callback function in Lib/idlelib/PyShell.py

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: It won't make it in 2.7.5. Benjamin tagged the 2.7.5 release a couple of days ago. I'll apply this later tonight. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: On second thought, I'll wait until after the releases so that Misc/NEWS gets populated properly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: Adding 16123 as a dependency. Resolving sys.ps1 and sys.ps2 will likely be simpler when only considering one execution mode. -- dependencies: +IDLE - deprecate running without a subprocess nosy: +roger.serwy versions: +Python 2.7, Python 3.4

[issue17642] IDLE add font resizing hot keys

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: @Abhishek: I'd rather not require extensions to have a new method for resetting font sizes. Instead, a virtual event can be bound to a callback by the extension if it needs to know about a font change. @Alejandro: It looks like there's a bug in ZoomFont.py where

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-05-12 Thread Roger Serwy
Roger Serwy added the comment: Georg, I need to clarify what I meant in msg188301. Issue9290 was applied to 3.2 which introduced the bug addressed in issue17585, whose fix then introduced issue17838. IDLE on the 3.2 branch doesn't handle exit() or quit() correctly. It needs both #17585

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-12 Thread Roger Serwy
Roger Serwy added the comment: I'm waiting until after the next wave of maitenance releases before I apply this patch. If anyone feels strongly that it should be applied now, let me know. I applied the patch to the latest 2.7.4 64-bit release version of Python and it worked

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-05-09 Thread Roger Serwy
Roger Serwy added the comment: Welcome Phil! Your patch looks good and applied cleanly to the default branch and behaves as you specified. Your submission mechanics are good! You might want to look into signing a contributor's agreement: http://docs.python.org/devguide/coredev.html#sign

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-07 Thread Roger Serwy
Roger Serwy added the comment: I'm pinging this issue to see if anyone has had any problems with the Windows-specific workaround for highlighting the selection tags. Issue17511 depends on this fix. -- assignee: - roger.serwy ___ Python tracker rep

[issue17798] IDLE: can not edit new file names when using -e

2013-05-05 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue as fixed. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17798

[issue13495] IDLE: Regressions - Two ColorDelegator instances loaded

2013-05-05 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue as fixed. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13495

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-05-05 Thread Roger Serwy
Roger Serwy added the comment: Terry, the SystemExit traceback from clicking cancel is expected given how Lib/site.py's Quitter first closes sys.stdin and then raises SystemExit. Closing sys.stdin causes the dialog, the raised exception just gets printed. We could change the behavior

[issue15809] IDLE console uses incorrect encoding.

2013-05-04 Thread Roger Serwy
Roger Serwy added the comment: There is a problem. Adding the encoding comment to the top of the source causes off-by-one line errors in the traceback. Take as an example: 1/0 Traceback (most recent call last): File pyshell#0, line 2, in module ZeroDivisionError: integer division

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-05-03 Thread Roger Serwy
Roger Serwy added the comment: 3.2 still has the problem fixed in issue17585 for 3.3 and 3.4. This only applies if issue17585 patch gets applied to 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17838

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-05-02 Thread Roger Serwy
Roger Serwy added the comment: Keeping the sys.stdin reference alive and then reassigning sys.stdin prevents exit() and quit() from actually closing IDLE since site.py's code closes sys.stdin which then does not trigger PyShell's close() method. I updated Terry's patch to explicitly call

[issue17721] Help button on preference window doesn't work

2013-04-30 Thread Roger Serwy
Roger Serwy added the comment: LGTM. -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17721 ___ ___ Python-bugs-list

[issue17864] IDLE won't run

2013-04-29 Thread Roger Serwy
Roger Serwy added the comment: This looks like a duplicate of issue8231. -- nosy: +roger.serwy type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17864

[issue17642] IDLE add font resizing hot keys

2013-04-29 Thread Roger Serwy
Roger Serwy added the comment: Abhishek, Alejandro, welcome to IDLE development! If you can, please sign a contributor agreement. We have two patches to create this enhancement, both are good. I suggest that we figure out how to merge the solutions. The zoom-out binding should also include

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-28 Thread Roger Serwy
Roger Serwy added the comment: I agree with Serhiy that the patch should be updated to better explain why the extra reference to stdin was being held. The attached patch provides that update in case anyone considers applying it in the future. Terry, are you suggesting that the code should

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-26 Thread Roger Serwy
Roger Serwy added the comment: If we remove .close() then we'll need to then have an alternative way to allow exit() and quit() to actually close IDLE. The RPC proxy already transfers exceptions between the subprocess and the front-end, so we could catch the SystemExit exception and handle

[issue17721] Help button on preference window doesn't work

2013-04-26 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17721 ___ ___ Python-bugs-list

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-25 Thread Roger Serwy
Roger Serwy added the comment: Are you running with or without a subprocess? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17838 ___ ___ Python

[issue17822] Save on Close windows (IDLE)

2013-04-23 Thread Roger Serwy
Roger Serwy added the comment: IDLE crashing is due to issue13582. We should maybe focus on that issue in the near future as it has become a common theme in many bug reports. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17822] Save on Close windows (IDLE)

2013-04-23 Thread Roger Serwy
Roger Serwy added the comment: I clicked submit too soon. The attached patch inhibits closing of the Editor when the dialog box appears. It also sets the parent argument so that Tkinter on Windows actually presents a modal dialog box. What's happening is the the dialog box enters a nested Tk

[issue17532] IDLE: Always include Options menu on MacOSX

2013-04-23 Thread Roger Serwy
Roger Serwy added the comment: The Options menu will become populated as soon as other extensions get included into IDLE, such as issue6143. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17532

[issue17817] ¿Bug Python 2.7.4 and version 3.3.1?

2013-04-22 Thread Roger Serwy
Roger Serwy added the comment: Ricardo, you are correct that 2.7.4 and 3.3.1 have these bugs but they have been fixed, as shown by Serhiy. Unfortunately, these fixes won't be released for a while but they exist as patches and in version control. I am closing this issue as a duplicate

[issue15809] IDLE console uses incorrect encoding.

2013-04-22 Thread Roger Serwy
Roger Serwy added the comment: Here's a tangentially related issue: #14326 IDLE doesn't handle pasting multi-line code properly (issue3559), IDLE2 will silently ignore code after the first executable statement. IDLE3 may give an error. Can't we just make IDLE's shell default to UTF-8

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-04-19 Thread Roger Serwy
Roger Serwy added the comment: Good catch Terry! I've been testing using python -m idlelib.idle instead of importing it from an interactive prompt. I'll need to remember to consider that test vector in the future. I figured out why those messages are popping up. The Tk event loop remains

[issue13495] IDLE: Regressions - Two ColorDelegator instances loaded

2013-04-19 Thread Roger Serwy
Roger Serwy added the comment: I will split the good_load flag bug into its own issue. While addressing a bug in #5492, another doubled-up ColorDelegator problem appeared, tracing back to #1586. The dual_delagators patch removes the code which loads the extra color delegators as well

[issue17798] IDLE: can not edit new file names when using -e

2013-04-19 Thread Roger Serwy
New submission from Roger Serwy: This is a split from #13495 as it is truly a separate issue. Here's a partial quote from msg151278: IDLE 3 no longer allows for editing of new files from the command line. For example: idle -e /tmp/newfile.py will momentarily flash an editor window

[issue13262] IDLE opens partially hidden

2013-04-19 Thread Roger Serwy
Roger Serwy added the comment: Why not change the initial window size from 80x40 to 80x38? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13262

[issue17776] IDLE Internationalization

2013-04-18 Thread Roger Serwy
Roger Serwy added the comment: Extensions would need to be modified to use the gettext module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17776

[issue17532] IDLE: Always include Options menu on MacOSX

2013-04-17 Thread Roger Serwy
Roger Serwy added the comment: Hi Guilherme, Have you signed the contributor agreement? It can be found at: http://www.python.org/psf/contrib/contrib-form/ Your patch looks good to me, but I don't have a Mac to test against. I trust Todd's test that it works on the latest MacOSX version

[issue17721] Help button on preference window doesn't work

2013-04-17 Thread Roger Serwy
Roger Serwy added the comment: This falls under annoyance #11 from issue13504. I'll cross-reference it there. -- nosy: +roger.serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17721

[issue13504] Meta-issue for Invent with Python IDLE feedback

2013-04-17 Thread Roger Serwy
Roger Serwy added the comment: Issue17721 addresses part of point 11) And am I the only person who noticed that the Help button doesn’t actually do anything? -- dependencies: +Help button on preference window doesn't work ___ Python tracker rep

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-04-17 Thread Roger Serwy
Roger Serwy added the comment: Hello Ger, Sure, I can explain. IDLE is driven by the Tk event loop. Calls to .update() flushes all pending events and expired .after callbacks. When close() gets called in PyShell, it places the finalization of the close (using close2()) into the Tk event

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-16 Thread Roger Serwy
Roger Serwy added the comment: I am closing this issue as fixed since the documentation now matches the behavior of IDLE. -- resolution: - fixed stage: patch review - committed/rejected ___ Python tracker rep...@bugs.python.org http

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-16 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14735 ___ ___ Python-bugs

[issue4630] IDLE: add cursor noblink option

2013-04-12 Thread Roger Serwy
Roger Serwy added the comment: Attached is an updated version of the patch against the latest 2.7 code. -- nosy: +roger.serwy Added file: http://bugs.python.org/file29787/issue4630_refreshed.patch ___ Python tracker rep...@bugs.python.org http

[issue17585] IDLE - regression with exit() and quit()

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: Thanks, Antoine. I am closing this issue as fixed. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17585

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: Todd, thank you for being proactive with the Tcl/Tk community. Hopefully they will offer a fix in their next version. In the meanwhile, here's a patch that works around the problem on Windows. The purpose of getting the highlight configuration at each FocusOut

[issue17511] Idle find function closes after each find operation

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: I submitted a patch to #14146 that would work around the selection highlighting issue on Windows. It is based on Sarah's idea of replacing the sel tags with a tag that remains visible. There are a lot of ideas floating here about improving the search dialog

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: I forgot to mention that the idea for replacing the sel tags is based on an idea from Sarah's patch from #17511. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2013-04-10 Thread Roger Serwy
Roger Serwy added the comment: Attached is the updated patch to include Ezio's review. Thanks Ezio! -- Added file: http://bugs.python.org/file29773/patch_2and3_rev1.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15964

[issue17670] expandtabs() weirdness

2013-04-10 Thread Roger Serwy
Roger Serwy added the comment: LGTM. -- nosy: +roger.serwy stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17670

[issue17585] IDLE - regression with exit() and quit()

2013-04-10 Thread Roger Serwy
Roger Serwy added the comment: Serhiy, don't worry. There's still plenty of broken found in IDLE. Antoine, may I modify site.py with site_reversion.patch? If not, then I can include a workaround in IDLE. -- ___ Python tracker rep...@bugs.python.org

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-10 Thread Roger Serwy
Roger Serwy added the comment: Attached is a refreshed patch for tip. Supporting Ctrl+Z and Enter on Windows would be problematic as I discussed earlier. We could introduce a timer to make sure Enter is pressed within a short window after Ctrl+Z. If someone wants to make a patch

[issue17657] IDLE: about dialog should report the full version of TK

2013-04-08 Thread Roger Serwy
Roger Serwy added the comment: Let's discuss improving the about dialog on idle-dev or in a new issue. Thanks for the patch, Todd! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep

[issue17511] Idle find function closes after each find operation

2013-04-08 Thread Roger Serwy
Roger Serwy added the comment: I tried the patch against 2.7 and it appears to work, but might introduce another interface problem. The search dialog opens up as a modal window which disallows the user from changing the text. This may or may not be desirable. The technique of using the hit

[issue17390] display python version on idle title bar

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: Issue10747 is tangentially related. It is about adding the python version to the short cuts on Windows. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: Thank you everyone for your patience. I am closing this issue as fixed. -- assignee: - roger.serwy resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613

[issue1207589] IDLE: Right Click Context Menu

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: Please do open a separate issue. We'll resolve it there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207589

[issue17511] Idle find function closes after each find operation

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: Update for what I wrote in msg185101: The behavior introduced in #13052 which kept the replace dialog open has been reverted by #17625. There ought to be consistency across the different find/replace dialogs. The replace dialog closes when clicking close

[issue17657] IDLE: about dialog should report the full version of TK

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: LGTM. The patch works on Arch Linux, returning 8.5.13 which is what I have installed. -- stage: - patch review type: behavior - enhancement versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http

[issue17642] IDLE add font resizing hot keys

2013-04-06 Thread Roger Serwy
Roger Serwy added the comment: IdleX provides this with the ZoomFont.py extension. (See http://idlex.sourceforge.net/extensions.html#Misc) It is useful for showing code on a projector so that students can easily read the screen. The implementation in ZoomFont.py does not change the font size

[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-04-06 Thread Roger Serwy
Roger Serwy added the comment: Closing the issue as fixed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16887

[issue17238] IDLE: Enhance import statement completion

2013-04-06 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +roger.serwy title: Enhance import statement completion - IDLE: Enhance import statement completion ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17238

[issue6699] IDLE: Warn user about overwriting a file that has a newer version on filesystem

2013-04-04 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- assignee: - roger.serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6699 ___ ___ Python-bugs

[issue1721083] Add File - Reload

2013-04-04 Thread Roger Serwy
Roger Serwy added the comment: Raymond, I can pick this up. I might as well work on #6699 at the same time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1721083

[issue17632] IDLE: Add clear-window option to the Shell menu.

2013-04-04 Thread Roger Serwy
Roger Serwy added the comment: This is a different spin on issue6143. Here the suggestion is to combine the clear function with the restart option for a new menu option. I am closing this one as a duplicate of #6143, but adding the Shell restart and clear suggestion. -- nosy

[issue6143] IDLE - an extension to clear the shell window

2013-04-04 Thread Roger Serwy
Roger Serwy added the comment: In #17632, Raymond suggests adding a Restart and Clear menu item under the Shell menu. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6143

[issue14576] IDLE: resolving home directory for configuration uses HOMEDRIVE, HOMEPATH, and USERPROFILE inconsistently on Windows.

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: This issue triggers the problem described in #13582. It points out problems with IDLE's configuration manager w.r.t. determining the home directory. I changed the title so that it reflects that point. -- title: IDLE: closes when writing warnings

[issue17625] IDLE regression -- Search and Replace Window doesn't automatically clear

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: That behavior was introduced as part of the patch I wrote a long time ago for #13052. In retrospect that extra functionality went beyond the scope of that issue and should not have been included. Does anyone else think that the new behavior ought to be reverted

[issue17625] IDLE regression -- Search and Replace Window doesn't automatically clear

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: The attached patch restores the original behavior. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file29674/issue17625.patch ___ Python tracker rep...@bugs.python.org http

[issue1442493] IDLE shell window gets very slow when displaying long lines

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: The only reason that the IDLE shell is slow is due to the shell's text widget being configured to have wrap=char. If we manually wrapped the output then the shell responds very quickly to rendering really long strings. The attached proof-of-concept patch

[issue17625] IDLE regression -- Search and Replace Window doesn't automatically clear

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: If students are having trouble, then it should be changed. This behavior is also in 3.2. Do applied patches in 2.7 tip go toward 2.7.4 or 2.7.5? (I don't know the mechanics of the release candidate process just yet.) -- stage: patch review - commit

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2013-04-03 Thread Roger Serwy
Roger Serwy added the comment: The attached patch allows the same parser code to run under Python 2 and Python 3. I'm not sure how to test it other than by running the test suite which passed. -- Added file: http://bugs.python.org/file29677/patch_2and3.py

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: On 04/02/2013 12:57 AM, Ned Deily wrote: 2. Roger, is this issue new to 2.7.4, 3.2.4, or 3.3.1? No, this bug has been baked into IDLE since the beginning. See line 215 http://hg.python.org/cpython/file/30713d5288df/Lib/idlelib/ColorDelegator.py How likely do

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: Updated patch based on Ezio's comments. Thank you, Ezio! Senthil, I wish I had a Mac to test against. I am able to trigger the bug on Win7 with 3.3. Without objection, I will commit the patch in the upcoming hours. -- assignee: - roger.serwy Added file

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-02 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17614

[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: When using the IDLE Classic OSX key set, the beginning-of-line virtual event gets bound to Control-Key-Left. Using this key set I can repeat the behavior that Raymond observed. The .home_callback() in Lib/idlelib/EditorWindow.py contains the logic from #3851

[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: Ned, I was reading the dev guide more closely about the meaning of the commit review stage. Would it be ok to place this issue into that stage with your test result? -- ___ Python tracker rep...@bugs.python.org http

  1   2   3   4   5   6   >