Changes by Roger Serwy :
--
nosy: -serwy
___
Python tracker
<http://bugs.python.org/issue13657>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
I can confirm this bug for POSIX platforms. Changing the lpr command in
config-main.def to quote the filename seems to fix the problem.
print-command-posix=lpr "%%s"
It might also be a problem on Windows, but I haven't tried it.
--
Roger Serwy added the comment:
In Objects/unicodeobject.c in PyUnicode_FromObject, the call to
PyUnicode_CheckExact fails when using 8.6.0 but works with 8.5.13.
--
___
Python tracker
<http://bugs.python.org/issue16
Changes by Roger Serwy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue16819>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Roger Serwy:
Krystian RosiĆski notified me about an error with Tabify/Untabify. Clicking
cancel still performs the operation because the _asktabwidth function in
Lib/idlelib/EditorWindow.py always returns a number, regardless of cancel being
clicked.
This bug is visibly
Roger Serwy added the comment:
The attached patch changes %%s to %%r. This should handle file names containing
quotes automatically.
Ramchandra's point of using a subprocess instead would fix the issue as well.
That would require changing "print_window" in Lib/idlelib/IOBindi
Roger Serwy added the comment:
See also issue12274.
--
___
Python tracker
<http://bugs.python.org/issue16829>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
@Serhiy
IDLE places its default configuration files within the standard library. Any
upgrade of Python can modify the contents of the standard library. Even if we
do *nothing* to change Lib/idlelib/config-main.def, the next upgrade would
overwrite an end users
Roger Serwy added the comment:
This is a duplicate of issue7949, but for KDE instead of GTK. I will close this
report in favor of the prior one.
--
nosy: +serwy
resolution: -> duplicate
status: open -> closed
superseder: -> idle does not handle dark gtk colo
Roger Serwy added the comment:
Updated the issue to reflect information from 16984. A screenshot was provided
in that report.
--
nosy: +sahin, serwy
title: idle does not handle dark gtk color schemes -> IDLE: problems with dark
GTK or KDE color schemes
versions: +Python 2.7, Pyt
Roger Serwy added the comment:
Patrick, see Issue8900. It described your problem.
--
___
Python tracker
<http://bugs.python.org/issue10365>
___
___
Python-bug
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
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 :
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:
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
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:
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:
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:
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:
@Raymond: What is so broken about IDLE that requires using "-n" to fix it?
Let's try to fix those problems rather than keeping up the maintenance burden
of supporting two execution modes.
--
___
Python
Roger Serwy added the comment:
I think it's a problem on Tk on Windows. The painting of the selection
highlight goes away when a window loses focus.
--
___
Python tracker
<http://bugs.python.org/is
Roger Serwy added the comment:
Serhiy, I applied your patch but I still get the same error.
>From what I have found so far, the FromObj function in Modules/_tkinter.c
>relies on cached values for different Tcl_ObjType, as given in the TkappObject
>struct. From the comment:
/*
Roger Serwy added the comment:
Thanks, Todd, for reviewing and testing the extension!
The Terminal.py extension patch provided here is outdated. There have been some
minor tweaks and bug fixes that can be found in the IdleX project which works
under 2.x and 3.x with the same code. (For
New submission from Roger Serwy:
Presently, the "Options" menu gets eliminated if IDLE runs as an OSX app. This
behavior was introduced in 2006 in revision 654c380cf8b9.
I guess that the original motivation for eliminating the Options menu since it
usually only contained the "
Roger Serwy added the comment:
I can confirm this behavior. The attached preliminary patch allows the Find
dialog to remain open, and is the same for 2.x and 3.x.
Until PEP434 gets resolved, I won't be able to apply the patch for earlier
versions of IDLE. For what it's worth, t
Roger Serwy added the comment:
Todd, the LineNumbers.py extension from the IdleX project contains
work-arounds for interacting cleanly with the Code Context extension. It
also has a hack for dealing with the shortcomings of the
Percolator/Delegator ordering.
There are other shortcomings in
Roger Serwy added the comment:
The file uploaded in 2010 falls under my PSF contributor agreement which
has the Apache V2.0 license. The updates to the code in the latest
version of IdleX fall under the NCSA license.
--
___
Python tracker
<h
Roger Serwy added the comment:
(I didn't realize that the patch is identical to the one submitted on
issue13586).
The issue with the found text not being highlighted is Windows-specific.
Issue13630 discusses that particular problem and it has the same root cause as
issue14146.
Changin
Changes by Roger Serwy :
--
nosy: +roger.serwy
___
Python tracker
<http://bugs.python.org/issue3938>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
@Raymond, see issue6143 for an (outdated) extension to clear the shell window
with a hotkey.
--
nosy: +roger.serwy
___
Python tracker
<http://bugs.python.org/issue1442
Roger Serwy added the comment:
The ClearWindow.py extension as included in the IdleX package contains a more
recent version that allows undo with full color tag restoration.
--
assignee: -> roger.serwy
versions: +Python 2.7, Python 3.3, Python
Roger Serwy added the comment:
It's definitely a "bug" with Tk. Whenever the Text widget loses focus, the
selection highlighting goes away. The following example code brings up a
focused text box with selected text. Clicking the button switches focus to the
button itself and t
Roger Serwy added the comment:
I agree that improving IDLE's docs would make it easier to learn and use. There
is a tangentially related issue: #16893.
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python, roger.serwy
versions: +Python 2.7, Py
Changes by Roger Serwy :
--
assignee: -> roger.serwy
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue6649>
___
___
Python-bugs-list
Roger Serwy added the comment:
This is related to #17221. I agree that news items need to be consolidated in
both Misc/NEWS and Lib/idlelib/NEWS.txt.
--
nosy: +roger.serwy
___
Python tracker
<http://bugs.python.org/issue17
Roger Serwy added the comment:
Thanks for the patch, Guilherme!
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.1
___
Python tracker
<http://bug
New submission from Roger Serwy:
This issue is a split from #5492, where Terry noticed a serious regression that
"quit()" and "exit()" no longer work in IDLE.
Before #9290, the PyShell object itself was stdin and it didn't have a "fileno"
method. The code
Roger Serwy added the comment:
I agree that site.py's Quitter exception logic has a flaw as described on the
email from python-dev. But I disagree that the problem of IDLE not exiting is
due to site.py. Even if you fix site.py (which I did), calling
sys.stdin.close() won't close
Roger Serwy added the comment:
If there are no objections, I will apply this patch after 2013-04-05.
--
assignee: -> roger.serwy
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issu
Roger Serwy added the comment:
Terry, I agree that the original patch introduces a buggy fileno and it "knows"
too much about the internals of site.py which could change.
The attached patch modifies site.py, similar to how Nick Coghlan split the two
function calls in a single try/ex
Roger Serwy added the comment:
Antoine, it does affect 2.7 since sys.stdin.close() doesn't call PyShell's
close method. #9290 introduced this regression. I accept some responsibility
because my manual testing of those patches in #9290 didn't include trying the
exit() and quit(
Roger Serwy added the comment:
I would also argue that the fileno_close.patch ought to be applied to the 3.2.4
and 3.3.1 release candidates. The changes in #9290 were applied only two months
ago.
--
versions: +Python 3.2
___
Python tracker
<h
Roger Serwy added the comment:
I agree with Antoine that fileno checking code should be removed. I dug deeper
into why that was introduced in the first place.
00b136b7da84 introduced the warning "Trying to close unclosable fd!"
86358b43c8bb intoduced the change to site.py about n
Roger Serwy added the comment:
I changed the title to better reflect the original bug report.
@Bruce: I did review Guilherme's patch a while ago in #10079. The editor window
bug can be found in #6698. These are on my todo-list, especially now that
PEP434 has been acc
Roger Serwy added the comment:
I use Arch Linux which has /usr/bin/python as 3.3.0. I can confirm that "touch
Include/Python-ast.h Python/Python-ast.c" fixes the problem.
But would it have been simpler just to convert the print statements to
functions so that asdl_c.py would work w
Roger Serwy added the comment:
I am closing this issue as being fixed.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Roger Serwy added the comment:
We can fix the "bug" as-is and then open a separate enhancement issue for Tal's
suggestions. I place bug in quotes because the correct behavior is not
documented.
--
assignee: -> roger.serwy
nosy: +Todd.Rovito
stage: -> patch revi
Roger Serwy added the comment:
Closing the shell window while in the nested event loop for readline fails to
exit the nested event loop. I updated the title to reflect the broader problem
with readline's handling of the nested event loop.
The rev1 patch causes the nested event loop to
Roger Serwy added the comment:
I found the root cause of the original error.
Entering "exit()" at the shell raises SystemExit which gets written to the
shell's text widget. The call to actually write the text passes through
.write() in Lib/idlelib/OutputWindow.py, which ca
Roger Serwy added the comment:
Ned, I can confirm the behavior you are seeing. I am trying to trace down why
this spurious '\n' gets inserted.
--
___
Python tracker
<http://bugs.python.o
Roger Serwy added the comment:
I reworked the patch to fix the cursor problem. The new code, hopefully, is
simpler to understand and harder to break. Essentially, all code paths that
terminate the subprocess must also call stop_readline which exits that nested
event loop if needed
Roger Serwy added the comment:
Thanks Todd for the review! If you have time, could you open a new issue to
deal with the enhancements discussed here?
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -&g
Roger Serwy added the comment:
Terry, I read over the revision in r71126 and it looked like the behavior
change was an unintended consequence of applying an ephemeral ports patch. That
and Todd's reasoning of the correct behavior being inferrable from the
configuration dialog convinc
Roger Serwy added the comment:
I just re-applied the patch to a clean 2.7 and 3.4 branch and didn't see that
exception raised. Are you sure that the patch applied cleanly?
--
___
Python tracker
<http://bugs.python.org/is
Roger Serwy added the comment:
Will do, Terry! :-)
--
___
Python tracker
<http://bugs.python.org/issue6698>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roger Serwy added the comment:
It's a "race condition" due to ColorDelegator calling .update() in its
recolorize method. The call to .update() flushes pending events, including
callbacks into Python code that can change out the ColorDelegator in the
Percolator chain.
Here
Roger Serwy added the comment:
I misworded the first sentence. It should have read: "Using bigfile.py as
generated by the program in #17613 can trigger the following traceback when
quickly closing the editor."
Other large files can be used to trigger the bug as well, like Lib/
New submission from Roger Serwy:
Using the bigfile.py generation program from #17613 triggers the following
traceback:
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in
main()
File "/usr/lib/python3.3/idlelib/PyShell.py", line 1431, in main
if
Roger Serwy added the comment:
Like #17613, the root cause is a call to .update() in Lib/idlelib/PyShell.py
.restore_file_breaks().
The attached patch fixes the issue.
--
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file29651/issue17614.pa
Roger Serwy added the comment:
I received permission from UIUC to relicense IdleX code used for contributions
into Python.
--
___
Python tracker
<http://bugs.python.org/issue17
Roger Serwy added the comment:
Todd,
Tabify/Untabify are functions to deal with the great tabs vs. spaces debate
(though PEP8 says that spaces are the way to go).
The tabify function needs a minimum of 2 spaces before it replaces it with a
tab.
Its implementation in Lib/idlelib
Roger Serwy added the comment:
Removing Geoge and Larry from nosy. I'm not sure how they got added. I didn't
click on anything in the Nost List box.
Ned, did you mean to add Benjamin to the nosy list?
--
___
Python tracker
<http://bu
Roger Serwy added the comment:
Is there an automatic nosy-list adder routine in the bug-tracker that I should
know about? Georg and Larry were re-added to nosy even after I removed them.
(I'm sorry for the spam.)
--
___
Python tracker
Roger Serwy added the comment:
I forgot to specify that the race condition gets triggered by pressing Alt-F4
the moment the IDLE editor window appears.
I am reliably reproducing the error using the Konsole terminal under Arch Linux.
--
___
Python
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 lik
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.ser
Changes by Roger Serwy :
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Roger Serwy added the comment:
When using the IDLE Classic OSX key set, the "beginning-of-line" virtual event
gets bound to . 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 for p
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
<http://bu
Roger Serwy added the comment:
Todd, thank you for opening this issue. Given the feedback, it looks like we
should keep the configuration. Feel free to close the issue.
--
___
Python tracker
<http://bugs.python.org/issue17
Changes by Roger Serwy :
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Roger Serwy :
--
assignee: -> roger.serwy
versions: +Python 3.4 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue15348>
___
___
Python-
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 warnin
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
<http://bugs.pyth
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-o
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 ->
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_2an
Changes by Roger Serwy :
--
assignee: -> roger.serwy
___
Python tracker
<http://bugs.python.org/issue6699>
___
___
Python-bugs-list mailing list
Unsubscri
Roger Serwy added the comment:
Raymond, I can pick this up. I might as well work on #6699 at the same time.
--
___
Python tracker
<http://bugs.python.org/issue1721
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.
-
Roger Serwy added the comment:
In #17632, Raymond suggests adding a "Restart and Clear" menu item under the
Shell menu.
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.
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
<http://bugs.python.org/i
Changes by Roger Serwy :
--
nosy: +roger.serwy
title: Enhance import statement completion -> IDLE: Enhance import statement
completion
___
Python tracker
<http://bugs.python.org/issu
Roger Serwy added the comment:
Issue10747 is tangentially related. It is about adding the python version to
the short cuts on Windows.
--
___
Python tracker
<http://bugs.python.org/issue17
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
<http://bugs.python.or
Roger Serwy added the comment:
Please do open a separate issue. We'll resolve it there.
--
___
Python tracker
<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 "clos
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
<http://bugs.p
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
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
&quo
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
<http://bugs.python.org/is
Roger Serwy added the comment:
LGTM.
--
nosy: +roger.serwy
stage: patch review -> commit review
___
Python tracker
<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 trac
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 for that
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
<http://bugs.python.or
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 Foc
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 th
401 - 500 of 543 matches
Mail list logo