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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Roger Serwy added the comment:
LGTM.
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17721
___
___
Python-bugs-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Roger Serwy roger.se...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14735
___
___
Python-bugs
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Roger Serwy roger.se...@gmail.com:
--
assignee: - roger.serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6699
___
___
Python-bugs
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 542 matches
Mail list logo