[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

[issue41907] Regression in IntFlag behaviour in f-string

2020-10-01 Thread Roger Taylor
New submission from Roger Taylor : An IntFlag member before 3.8.6 was converted to an integer in an f-string. After 3.8.6, the textual IntFlag class and member name are placed in the interpolated f-string instead of the integer. 3.8.3: f"... {X.F} ..." where X.F = 1 << 4 w

[issue41548] Tk Window rendering on macOS Big Sur

2020-08-26 Thread Roger Meier
Roger Meier added the comment: The latest macOS Big Sur Public Beta (5, Build 20A5354i) fixes the issue with TK Window rendering. -- resolution: -> works for me ___ Python tracker <https://bugs.python.org/issu

[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Roger Meier
Roger Meier added the comment: I have screen capture demonstrating the issue, which I posted here: https://groups.google.com/g/thonny/c/529A5zEsuWg/m/xHVCny8OBwAJ -- type: -> behavior ___ Python tracker <https://bugs.python.org/issu

[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Roger Meier
New submission from Roger Meier : macOS Big Sur, Public Beta (20A5343j) There is noticeable window flickering when the IDLE window is being resized manually. It sometimes become translucent, and sometimes the window frame isn't properly refreshed after resizing, but simply by switching

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2020-07-19 Thread Roger Gammans
Roger Gammans added the comment: But namespace packages are still useful for what PEP420 envisages and they should be able to have runnable tests. For instance projectX/ - interfaces/ - proxyX.py - testX.py projectY/ - intefaces/ - proxyY.py

[issue39765] asyncio loop.add_signal_handler() may not behave as expected

2020-02-26 Thread Roger Dahl
Roger Dahl added the comment: > I'm sorry. but loop.set_signal_handler() method doesn't exist. Oops, fixed. > Assuming you mean loop.add_signal_handler() method, I would say that a > minute-long delay is a sign of long blocking calls in your program. During the delay for the

[issue39765] asyncio loop.set_signal_handler() may not behave as expected

2020-02-26 Thread Roger Dahl
Change by Roger Dahl : -- keywords: +patch pull_requests: +18028 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18664 ___ Python tracker <https://bugs.python.org/issu

[issue39765] asyncio loop.set_signal_handler() may not behave as expected

2020-02-26 Thread Roger Dahl
New submission from Roger Dahl : This is a ticket to document two ways in which the behavior of loop.set_signal_handler() may not match what the user expects. First, callbacks to handlers registered with loop.set_signal_handler() may be significantly delayed. I have a program where I've

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread Roger Hurwitz
Change by Roger Hurwitz : -- keywords: +patch pull_requests: +17826 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18452 ___ Python tracker <https://bugs.python.org/issu

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: At PyCascades CPython sprint and reviewing this issue. -- nosy: +rogerhurwitz ___ Python tracker <https://bugs.python.org/issue38

[issue39594] Typo in documentation for os.times

2020-02-10 Thread Roger Hurwitz
Change by Roger Hurwitz : -- keywords: +patch pull_requests: +17817 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18443 ___ Python tracker <https://bugs.python.org/issu

[issue39594] Typo in documentation for os.times

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: Reviewing this as part of the CPython sprint at PyCascades. -- nosy: +rogerhurwitz ___ Python tracker <https://bugs.python.org/issue39

[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: I am at PyCascades at the CPython sprint, and I will work on this issue to the best of my ability. -- nosy: +rogerhurwitz ___ Python tracker <https://bugs.python.org/issue16

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2019-08-19 Thread Roger Gammans
Change by Roger Gammans : -- nosy: +rgammans ___ Python tracker <https://bugs.python.org/issue23882> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35617] unittest discover does not work with implicit namespaces

2019-08-19 Thread Roger Gammans
Change by Roger Gammans : -- nosy: +rgammans ___ Python tracker <https://bugs.python.org/issue35617> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36723] Unittest Discovery for namespace subpackages dot notation fails

2019-08-19 Thread Roger Gammans
Roger Gammans added the comment: I think this is a duplicate of one (or both) of 35617, or 23882 . Both of those have unmerged proposed fixes. -- nosy: +rgammans ___ Python tracker <https://bugs.python.org/issue36

[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

[issue34775] pathlib.PurePath division raises TypeError instead of returning NotImplemented

2018-09-23 Thread Roger Aiudi
Roger Aiudi added the comment: Using your above example, my use case is returning an instance of Spam instead of PurePath from the division operation. The Spam class would have extra properties and methods for dealing with a substructure of our file system that can exist in different places

[issue34775] pathlib.PurePath division raises TypeError instead of returning NotImplemented

2018-09-23 Thread Roger Aiudi
New submission from Roger Aiudi : PurePath.__truediv__ and __rtruediv__ raise a TypeError when passed something which is not an instance of string or PurePath. This prevents creating any sort of compatible class that doesn't inherit from the previously mentioned types. -- components

[issue34226] cgi.parse_multipart() requires undocumented CONTENT-LENGTH in Python 3.7

2018-07-28 Thread roger
roger added the comment: working on this on europython -- nosy: +rogerduran ___ Python tracker <https://bugs.python.org/issue34226> ___ ___ Python-bugs-list m

[issue32860] Definition of iglob does not mention single star (unlike glob)

2018-02-16 Thread Roger Erens
New submission from Roger Erens <snerere...@gmail.com>: Although both glob and iglob have the same arity in Lib/glob.py: def glob(pathname, *, recursive=False) def iglob(pathname, *, recursive=False): the documentation only mentions for glob the single star https://docs.python.org/3/l

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2018-02-16 Thread Roger Erens
Roger Erens <snerere...@gmail.com> added the comment: http://bugs.python.org/issue25596 has been closed... -- nosy: +Roger Erens ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32661] ProactorEventLoop locks up on close call

2018-01-24 Thread Roger Taylor
New submission from Roger Taylor <roger.taylor.em...@gmail.com>: The following problem only occurs when I use ProactorEventLoop. If I use 'asyncio.get_event_loop()' it exits normally, rather than infinite looping in IOCP land. 1. I run the attached 'bug.py' script in a DOS

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-12-27 Thread Roger Wang
Change by Roger Wang <wen...@gmail.com>: -- nosy: +rogerwang ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31639> ___ __

[issue29531] Update Doc/README.txt to README.rst

2017-02-15 Thread Roger Sachan
Changes by Roger Sachan <narayanro...@gmail.com>: -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bu

[issue29531] Update Doc/README.txt to README.rst

2017-02-14 Thread Roger Sachan
Changes by Roger Sachan <narayanro...@gmail.com>: -- pull_requests: +67 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29531> ___

[issue29531] Update Doc/README.txt to README.rst

2017-02-14 Thread Roger Sachan
Changes by Roger Sachan <narayanro...@gmail.com>: -- pull_requests: -31 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29531> ___

[issue29531] Update Doc/README.txt to README.rst

2017-02-11 Thread Roger Sachan
Changes by Roger Sachan <narayanro...@gmail.com>: -- pull_requests: -29 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29531> ___

[issue29531] Update Doc/README.txt to README.rst

2017-02-10 Thread Roger Sachan
Changes by Roger Sachan <narayanro...@gmail.com>: -- pull_requests: +31 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29531> ___

[issue29531] Update Doc/README.txt to README.rst

2017-02-10 Thread Roger Sachan
New submission from Roger Sachan: I have simply updated the document and its references to README.rst (thanks to whoever formatted it). -- assignee: docs@python components: Documentation messages: 287590 nosy: Roger Sachan, docs@python priority: normal pull_requests: 29 severity

[issue26504] tclErr: invalid command name "PyAggImagePhoto"

2016-03-09 Thread Roger Mosher
Roger Mosher added the comment: It appears to be a problem with the Anaconda 3 distribution. See: https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/xssOnleIPFw for a discussion. -- status: open -> closed ___ Python tracker &

[issue26504] tclErr: invalid command name "PyAggImagePhoto"

2016-03-07 Thread Roger Mosher
New submission from Roger Mosher: when trying to show a FigureCanvasTkAgg the program crashes. Debugging eventually leads me to TkAgg.blit method where we find the following line: tk.call( "PyAggImagePhoto", photoimage, id(data), colormode, id(

[issue26183] 2.7.11 won't clean install on Windows 10 x64

2016-01-25 Thread Roger Cook
Roger Cook added the comment: Installing a VM and running it there, it installs. Is there a manual removal procedure to follow when the automated uninstall fails? -- resolution: -> not a bug status: open -> closed ___ Python tracke

[issue26183] 2.7.11 won't clean install on Windows 10 x64

2016-01-22 Thread Roger Cook
New submission from Roger Cook: The Windows installer stops the installation and backs out on a clean system. Here is the relevant section of the log file (msiexec /i python-2.7.11.amd64.msi /l*v): MSI (s) (14:90) [15:13:32:577]: Executing op: ActionStart(Name=RemovePip,,) Action 15:13:32

[issue22107] tempfile module misinterprets access denied error on Windows

2015-02-17 Thread Roger Upole
Roger Upole added the comment: It doesn't actually do anything, so why do it at all? In order to distinguish why it failed, you might try checking if the file actually exists, and if it is a folder. -- ___ Python tracker rep...@bugs.python.org

[issue22107] tempfile module misinterprets access denied error on Windows

2015-02-16 Thread Roger Upole
Roger Upole added the comment: os.access doesn't check filesystem permissions, so the patch will not catch the condition that creates the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107

[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

[issue22107] tempfile module misinterprets access denied error on Windows

2014-07-30 Thread Roger Upole
New submission from Roger Upole: _mkstemp_inner assumes that an access denied error means that it has generated a filename that matches an existing foldername. However, in the case of a folder for which you don't have permissions to create a file, this means it will loop thru the maximum

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-06-06 Thread Roger Luethi
Roger Luethi added the comment: Seeing that the patch merged for issue 21513 left the existing test for 100.64.0.0 (IPv4 network) untouched, I think it would make more sense to make that address a constant everywhere in a separate patch (if that is indeed desirable

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-05-18 Thread Roger Luethi
Roger Luethi added the comment: New patch includes tests. Lightly tested with Python 3.4 (because trunk doesn't build for me right now): tests fail without patch, pass with patch. Patch re-diffed against trunk. -- Added file: http://bugs.python.org/file35281/ipv4addr_global2-hg.diff

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-04-29 Thread Roger Luethi
New submission from Roger Luethi: Lib/ipaddress.py does not implement is_global for IPv4Address, in contrast to the documentation which states for IPv4Address.is_global: True if the address is allocated for public networks. A patch like the one attached to this report should fix

[issue20628] Improve doc for csv.DictReader 'fieldnames' parameter

2014-02-22 Thread Roger Erens
Roger Erens added the comment: One more nitpick: is it the sequence [of keys] that identif_ies_ the order, or is it the keys that identif_y_ the order? Not being a native English speaker, I'd opt for the first choice. Thank you both for your meticulous attention for details

[issue20628] csv.DictReader

2014-02-16 Thread Roger Erens
Roger Erens added the comment: I did not fully realize the meaning of it being a sequence as it is referred to a little later indeed. Which implies both a tuple and a list can be used, right? So then the patch might look like: + The *fieldnames* parameter is a list or tuple of keys used

[issue20628] csv.DictReader

2014-02-14 Thread Roger Erens
New submission from Roger Erens: The sections on DictReader and DictWriter do not give information on what the type is of the parameter 'fieldnames'. The source code comments that it is a 'list of keys for the dict'. -- assignee: docs@python components: Documentation messages: 211226

[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

[issue19084] No way to use TLS-PSK from python ssl

2013-09-25 Thread Roger Light
Roger Light added the comment: This is not TLS-SRP, but TLS-PSK as described by RFC 4279[1] There is a very small amount of overlap - the unknown_psk_identity error defined by PSK is also used in SRP. [1] http://tools.ietf.org/html/rfc4279

[issue19084] No way to use TLS-PSK from python ssl

2013-09-24 Thread Roger Light
Changes by Roger Light ro...@atchoo.org: -- nosy: +ralight ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19084 ___ ___ Python-bugs-list mailing

[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

  1   2   3   4   5   6   7   >