Roger Serwy added the comment:
I applied the patch against the latest version in the repository and it works
correctly.
--
nosy: +serwy
type: -> behavior
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/iss
Roger Serwy added the comment:
I attached a better patch that preserves the goals of the original code while
not creating two color delegators.
I traced down when the regression occurred (2007-09-06):
(a4bd8a4805a8) 1. Fail gracefully if the file fails to decode when loaded.
This patch (2008
Roger Serwy added the comment:
I have given this issue some further consideration, and realized that my "+1"
recommendation was not correct.
Starting the interactive python interpreter will automatically include [''] in
sys.path. A fresh restart of IDLE's shell does
Roger Serwy added the comment:
I considered saving directly from the shell but then I ran into a use-case
problem. Saving the shell window as an runnable script will also save any
syntax errors that were entered. A user would then have to open an editor to
correct these errors.
A high-level
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue11838>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
#2704 covers point 1 (In the shell window, if you click anywhere but on the
current line and move the cursor there, the window stops handling key strokes.)
#3851 covers point 1.1) "Pressing the Home key moves the cursor before the >>>
prompt, wh
Roger Serwy added the comment:
+1
The proposed patch works as described.
I do agree with Marco that IDLE does need some more QA.
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue13
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue13504>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
I can confirm that using "idle -e " still causes a hang on Windows using
3.2.2 and on Ubuntu using 2.7.1 and 3.2
The given patch fixes the problem on those platforms.
--
nosy: +serwy
___
Python trac
New submission from Roger Serwy :
Two instances of ColorDelegator are in the percolator chain. This is a
regression from 2.x.
The problem can be found in __init__ of EditorWindow in EditorWindow.py.
Calling "io.loadfile" eventually calls "filename_change_hook"
Roger Serwy added the comment:
With IDLE 3.2 on Ubuntu 11.04, this is not a problem. An error box pops up:
SyntaxError
(unicode error) 'unicodeescape' codec can't decode bytes in position 0-3:
truncated \xXX escape
With IDLE 2.7.1 on Ubuntu 11.04, the console gives the err
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue12988>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
Alt-3 is comment-out region on Linux as well. The problem is that "o" is an
accelerator for "Comment Out Region" under the Format menu. Pressing "Alt-o and
o" under Linux is equivalent to "Alt-o and Alt-o".
This togglin
Roger Serwy added the comment:
Which platform are you running?
On Linux (Ubuntu 11.10, Python 3.2, Tk 8.5), Alt-o does not toggle between
Format and Options. The first Alt-o selects "Format" and the second Alt-o
selects "Comment Out Region".
Changing Format's ac
New submission from Roger Serwy :
This is a minor interface issue. The accelerator for opening the _Options menu
in an editor conflicts with the F_ormat menu.
I suggest changing the Options accelerator to "i" since Alt-t is for toggling
tabs. (Perhaps the accelerator for <> s
Roger Serwy added the comment:
I can reproduce the problem with Ubuntu 11.04 with Python 3.2. The
WidgetRedirector calls tk_call with a tuple containing unencoded Unicode
strings.
Attached is a patch to encode all arguments if the argument has the "encode"
attribute. This seems
Roger Serwy added the comment:
Attached is a patch against 3.2.2 which does proper after_cancel calls on the
after calls to checkhide_event.
--
Added file: http://bugs.python.org/file23558/patch5219.diff
___
Python tracker
<http://bugs.python.
New submission from Roger Serwy :
The interactive interpreter in IDLE does not reset its compiler __future__
flags when you restart the shell.
To verify this, type into the shell:
>>> from __future__ import barry_as_FLUFL
>>> 1 != 2
You'll get a syntax e
Roger Serwy added the comment:
This is related to http://bugs.python.org/issue989712
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue1053
Roger Serwy added the comment:
For Code Context, the behavior is a bug since the menu item check can be
changed independently of the actual status of Code Context.
As far as I can tell, flist.vars mostly contains variables created by
EditorWindow.py's "get_var_obj". A quick
Roger Serwy added the comment:
I don't have the beep problem you describe under Linux using Python 3.2
(r32:88445, Mar 25 2011, 19:56:22). That may be a platform-specific bug.
Here's a patch to use re.escape instead.
A minor side effect of using re.escape is that it is not possi
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue9150>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Roger Serwy added the comment:
I see that Ezio added me to the nosy list.
Here's a patch that identifies bogus escape characters at the end of the
replvar string and appends an extra \ to fix it.
--
keywords: +patch
Added file: http://bugs.python.org/file23409/patch13052
Roger Serwy added the comment:
Here's a patch.
The smart_backspace_event code considers sys.ps1 even though it's not a PyShell
instance. The "context_use_ps1" flag is already used to modify other behavior
of the editor window when it is a PyShell instance, so it is ap
New submission from Roger Serwy :
IDLE's EditorWindow.py relies on using FileList.py's "vars" dictionary to store
Tkinter variables instead of using its own. As a consequence,
toggling a checked menu item in one editor window toggles the menu item in ALL
editor windows
Roger Serwy added the comment:
Attached is an extension which provides tabbed windows for IDLE. It supports
drag-and-drop reordering and separate windows.
The implementation relies on monkey-patching a few subroutines and duck-typing
for the toplevel window. The extension emulates each tab
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue9262>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Roger Serwy added the comment:
This issue can be closed.
The natural language toolkit uses Tk for its GUI, the same as IDLE. Under
Ubuntu 8.10, IDLE is launched from the menu without a subprocess. Running nltk
as described without a subprocess causes this problem.
Try launching IDLE without
Roger Serwy added the comment:
I grabbed the core of reindent.py and put it into an extension, unmodified.
The original reindent.py will emit Indentation Errors if they exist.
ScriptBinding already has nice code to handle these problems by highlighting
the error, placing the cursor at the
Changes by Roger Serwy :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue3851>
___
___
Python-bugs-list mailing list
Unsubscri
Roger Serwy added the comment:
Rather than change the core code of IDLE, I've attached an extension to achieve
terminal-like behavior. It provides a toggle to enable/disable. However, this
extension as-is only works on the 2.x series, although it can be modified
slightly to work o
Roger Serwy added the comment:
The class browser relies on the pyclbr module to scan the code. This
module doesn't support classes within classes. Both pyclbr and IDLE's
class browser need to be modified.
--
nosy: +serwy
___
Python trac
Roger Serwy added the comment:
I just tried Squeezer. It's pretty neat and it solves a different
problem. Clearing the contents of the shell window should be a simple
operation.
The undo operation doesn't restore iomark properly, nor does it restore
tags. I've uploaded a newer
Roger Serwy added the comment:
I've uploaded a patch to solve the problem.
In CallTipWindow.py, the showtip function binds key releases and button
releases to the checkhide_event function. The checkhide_event function
creates a .after callback to itself whenever it's called. Each k
Roger Serwy added the comment:
You'll need to modify the IDLE menu item to remove the "-n" using
Ubuntu's menu modification tool, usually found under System->Preferences.
Presently, using a subprocess only allows for one instance of IDLE
running on a machine, whereas run
Roger Serwy added the comment:
Running IDLE from the Applications menu under Ubuntu will not have the
Shell menu. If you bring up a terminal and enter "idle", you will have
the Shell menu.
IDLE, when selected from the Application menu, is being run with the
"-n" comman
New submission from Roger Serwy :
I noticed that the feature to clear the shell window has been a
discussion topic in the IDLE-dev archives for a few years. Here's an
extension that can clear the contents of the shell window. It provides
"Clear Shell Window" under "Options
Roger Serwy added the comment:
Here's an extension that adds rstrip() to the Format menu.
--
nosy: +serwy
Added file: http://bugs.python.org/file14108/RstripExtension.py
___
Python tracker
<http://bugs.python.org/i
New submission from Roger Serwy <[EMAIL PROTECTED]>:
Pressing "Home" on Windows XP in the PyShell window places the cursor
before ">>>" instead of after it. On Linux, this behaves correctly.
The problem is in PyShell.py in the home_callback(). At line 1064:
i
Changes by Roger Serwy <[EMAIL PROTECTED]>:
--
nosy: serwy
severity: normal
status: open
title: IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of
after. Solution offered.
___
Pytho
Roger Serwy <[EMAIL PROTECTED]> added the comment:
I rewrote the patch to better handle multi-line input. In rewriting the
patch I realized that there can be many different ways to handle up/down
key presses while the cursor is in the input region. Here is the
behavior of this patch:
For
Roger Serwy <[EMAIL PROTECTED]> added the comment:
Hi Terry,
The patch allows you to select previous output if your cursor leaves the
command line area. Press the left arrow button at a new command line
does this.
Thank you for your feedback!
- RDS
Terry J. Reedy wrote:
> Terry
New submission from Roger Serwy <[EMAIL PROTECTED]>:
See attached diff file. Patching PyShell.py Version 1.2.1
PyShell ignores letter/number key presses when the cursor is not on the
command line. Instead it should redirect any letter/number key presses
to the command line. (C
501 - 543 of 543 matches
Mail list logo