[issue17960] Clarify the required behaviour of locals()

2017-06-29 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: I'm honestly not sure how our Python level locale handling really works (I've mainly worked on the lower level C locale manipulation), so adding folks to the nosy list based on #20076 and #29571. I agree we shouldn't be aliasing C.UTF-8 to en_US.UTF-8 though -

[issue6691] Support for nested classes and function for pyclbr

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR. Also manually test classbrowser with the modified pyclbr and report what you see on your system. -- ___ Python tracker

[issue30809] IDLE parenmatch - highlighting options

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not willing to add a new theme element to the 13 that already exist, let alone define it in config-extensions.def rather than in config-hightlight.def. It is too much additional complication for too little impact. Also, any theme specified in

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue19150] IDLE shell fails: "ModifiedInterpreter instance has no attribute 'interp'"

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I managed to crash 2.7 -n by running the multi-thread tkinter program posted for #10909. Since it modifies widgets created in the main thread from a thread, I don't consider the failure a fixable IDLE bug. 3.6 -n ran the same program, so this is only for

[issue13262] IDLE opens partially hidden

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue15313] IDLE - remove all bare excepts

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> needs patch versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue19808] IDLE applies syntax highlighting to user input in its shell

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still a problem in 3.6. -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue13582] IDLE and pythonw.exe stderr problem

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: test needed -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue11838] IDLE: make interactive code savable as a runnable script

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue12387] IDLE save keyboard shortcut problem

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue21756] IDLE - ParenMatch fails to find closing paren of multi-line statements

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: test needed -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue6092] IDLE: Changed Shortcuts don't show up in menu

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue21880] IDLE: Ability to run 3rd party code checkers

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> patch review type: -> enhancement versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue13179] IDLE uses common tkinter variables across all editor windows

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy nosy: -BreamoreBoy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

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

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue13220] print function unable while multiprocessing.Process is being run

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue18903] IDLE file-completion is case-sensitive in Windows

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue18903] IDLE file-completion is case-sensitive in Windows

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue21603] IDLE: Document SaveAs extension display on Mac

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue27621] Finish IDLE Query dialog appearance and behavior.

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #24812 specifically talks about Mac standards. -- ___ Python tracker ___

[issue24812] All standard keystrokes not recognized in IDLE dialogs on Mac

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: query.Query has and will mostly replace tkinter.simpledialog #27115. This is partially a duplicate with respect to Query #27621. -- ___ Python tracker

[issue2053] IDLE - standardize dialogs

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue24893] Tk occasionally mispositions Text() insert cursor on mouse click.

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect that this is entirely a tkinter problem, not an IDLE problem. For the editor, ButtonRelease is bound to set_line_and_column which updates the status bar. The function return None so tk can handle the click to move the cursor. -- versions:

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Nathaniel Smith
Nathaniel Smith added the comment: Then maybe simplest solution is to scale back the claim :-). The important semantic change would be that right now, interrupt_main() is documented to cause KeyboardInterrupt to be raised in the main thread. So if you register a custom SIGINT handler that

[issue9262] IDLE: Use tabbed shell and edit windows

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue24760] IDLE settings dialog shouldn't be modal

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue13586] IDLE: Replace selected not working/consistent with find

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue20579] OS X IDLE keyboard accelerators fail or misbehave with Cocoa Tk

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy nosy: +terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue22354] Idle: highlite tabs

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue5594] IDLE startup configuration

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue30772] Normalise non-ASCII variable names in __all__

2017-06-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: I think that the names in __all__ should have the same NFKC normalisation applied as the identifiers. Re-opening for 3.7. -- resolution: not a bug -> stage: resolved -> status: closed -> open title: If I make an attribute " -> Normalise non-ASCII

[issue14576] IDLE: inconsistent use of HOMEDRIVE, HOMEPATH, and USERPROFILE on Windows

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue10909] IDLE: thread hang, possibly related to print

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.6.2rc1, the counter has reached nearly 4 after 40 minutes. So no bug in current 3.x. I ran a couple of times with 2.7 and got 3000-4000 both times. I am no longer patching IDLE for 2.7, so closing. -- assignee: -> terry.reedy resolution:

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

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: kbk -> terry.reedy stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

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

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue6691] Support for nested classes and function for pyclbr

2017-06-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: I have the change ready to push. I didn't change the tests, except to fix what was failing earlier, so the tests would need to be reviewed (the test currently creates a real temporary file that it opened and read, but a Mock would be better?) Anyway, do you

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Eryk Sun
Eryk Sun added the comment: The strong claim that "interrupt_main is now equivalent to the user having hit control-C" is the reason I suggested broadcasting CTRL_C_EVENT via GenerateConsoleCtrlEvent. That operation isn't buggy on its own to my knowledge. There is a glitch due to the CRT. If a

[issue20580] IDLE should support platform-specific default config defaults

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue22554] Idle: optionally auto-pop-up completion window for names

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4 ___ Python tracker

[issue24265] IDLE -s and (-, -c command, or -r file) produces error message

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker ___

[issue30779] IDLE: configdialog -- factor out Changes class

2017-06-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: Here's the beginning design. Since it's a high priority, I didn't want to wait too long to show you something. As you can see, I still had a lot of questions and things I wasn't sure about. I have some tests, but wanted to have it more complete before

[issue6858] IDLE: allow syntax highlighting of files without .py extension

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue17960] Clarify the required behaviour of locals()

2017-06-29 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, I think a short PEP would be helpful here. -- ___ Python tracker ___

[issue28711] IDLE doesn't open

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From the information given, this duplicates #21973 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: catch user cfg file error, better error message, continue ___ Python

[issue18318] Idle: stop depending on console output

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue24039] Idle: some modal dialogs maximize, don't minimize

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue30495] IDLE: modernize textview module

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6f31717c47e325460e2a661bf44b45d342d65bcb by terryjreedy in branch '3.6': [3.6] bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (GH-2283) (#2496)

[issue30495] IDLE: modernize textview module

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2557 ___ Python tracker ___ ___

[issue30495] IDLE: modernize textview module

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 42bc8beadd49f60cc52fdc397897b3bd81640406 by terryjreedy (csabella) in branch 'master': bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (#2283)

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-29 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why is this PR not closed? -- ___ Python tracker ___ ___ Python-bugs-list

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 on having PyErr_SetInterrupt() call raise(SIGINT) or equivalent. -- nosy: +pitrou ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2017-06-29 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2556 ___ Python tracker ___ ___

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also using the PyTime APIs will make it annoying to backport to 2.7 (which isn't mandatory, of course). -- ___ Python tracker

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: If I use the PyTime APIs, it will change the signature from setitimer($module, which, seconds, interval=0.0, /) to setitimer($module, which, seconds, interval=None, /). I'm not sure that's ok in a bugfix release? --

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, it's not select(), it's epoll_wait(). I see. -- ___ Python tracker ___

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't understand how 0.1 ms can be rounded down to 0 in a "struct timeval", which has microsecond precision. -- ___ Python tracker

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: > Not sure why? If you pass 0 instead of a tiny value, select() shouldn't > behave significantly differently. I used select() as an example of function where we also changed how the timeout was rounded, so we had to decide how to handle backward

[issue30809] IDLE parenmatch - highlighting options

2017-06-29 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2554 ___ Python tracker ___

[issue30809] IDLE parenmatch - highlighting options

2017-06-29 Thread Charles Wohlganger
New submission from Charles Wohlganger: Current IDLE parenmatch highlighting uses the 'hilite' style when highlighting the parens/expression. Desired behavior is to use a user-setting based style that is independent from the hilite style (which is used for highlighting selected text). Desired

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review ___ Python tracker ___ ___

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Well, select.select() is a better example. I had nightmare with the rounding of its timeout Not sure why? If you pass 0 instead of a tiny value, select() shouldn't behave significantly differently. In any case, I don't want to have nightmares, I simply

[issue30808] Use _Py_atomic API for concurrency-sensitive signal state

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Look at the PR :-) That's what we used. But, while sig_atomic_t guarantees that accesses are atomic, it doesn't enforce a memory order. So the CPU (depending on the architecture) is free to reorder writes. -- ___

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: > sigtimedwait() is different: zero doesn't mean anything special. If you > mistake zero for 1e-6 or the reverse, it works fine. Well, select.select() is a better example. I had nightmare with the rounding of its timeout :-) --

[issue30808] Use _Py_atomic API for concurrency-sensitive signal state

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: There is a sig_atomic_t type. Should we use that one? https://www.gnu.org/software/libc/manual/html_node/Atomic-Types.html "To avoid uncertainty about interrupting access to a variable, you can use a particular data type for which access is always atomic:

[issue30803] Truth value of sets not properly documented

2017-06-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: This case was supposed to be covered by the last bullet point, "instances of user-defined classes, if the class defines a __bool__() or __len__() method, when that method returns the integer zero or bool value False.". The word "user-defined" should be

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: sigtimedwait() is different: zero doesn't mean anything special. If you mistake zero for 1e-6 or the reverse, it works fine. -- ___ Python tracker

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I would prefer to reuse pytime.c conversion code which is well tested by > test_time. _PyTime_FromObject() already contains code to convert a double to > _PyTime_t, and _PyTime_AsTimeval() converts a _PyTime_t to timeval. Use > _PyTime_ROUND_CEILING as

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's not about correctly rounding something, it's about fixing a bug. I don't care about rounding if it means being a microsecond late. -- ___ Python tracker

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure about modifying Python 2.7. For example, we didn't change the select module in Python 2.7 to round correctly the timeout. -- ___ Python tracker

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Nathaniel Smith
Nathaniel Smith added the comment: > A real Ctrl+C executes the registered control handlers for the process. Right, but it's *extremely* unusual for a python 3 program to have a control handler registered directly via SetConsoleCtrlHandler. This isn't an API that the interpreter uses or

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: I would prefer to reuse pytime.c conversion code which is well tested by test_time. _PyTime_FromObject() already contains code to convert a double to _PyTime_t, and _PyTime_AsTimeval() converts a _PyTime_t to timeval. Use _PyTime_ROUND_CEILING as

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-29 Thread Steve Dower
Steve Dower added the comment: It doesn't even fix a warning - only suppresses it. Since there is no behavior change at all, I'm not inclined to backport any further than is trivial. -- ___ Python tracker

[issue30808] Use _Py_atomic API for concurrency-sensitive signal state

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2553 ___ Python tracker ___ ___

[issue30808] Use _Py_atomic API for concurrency-sensitive signal state

2017-06-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: We already use the _Py_atomic APIs in ceval.c, for lockless boolean flags. We should do the same in the signal module where there are similar concurrency issues (for example between the signal handler running in one thread and PyErr_CheckSignals running in

[issue30779] IDLE: configdialog -- factor out Changes class

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: High, because other issues depend on this. -- priority: normal -> high ___ Python tracker ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, the timeout on the "Ubuntu Shared" buildbot is due to https://bugs.python.org/issue30807 -- ___ Python tracker ___

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2552 ___ Python tracker ___ ___

[issue6691] Support for nested classes and function for pyclbr

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like to get this in 3.7.0a1, scheduled for 2017 Sept 9, and subsequently in 3.6.3. Cheryl, this is why I distracted you from the configdialog patch. As a non-idlelib patch, more discussion by more people may be needed before a merge. If this is not

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> commit review versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: +setitimer() can disable timer by mistake versions: +Python 2.7, Python 3.5, Python 3.6 ___ Python tracker

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: The C setitimer() function supports intervals with microsecond resolution. However, Python's setitimer() takes a float and then converts it to a C `struct timeval`, which can round down to zero. The consequence is that the timer is disabled (timeval ==

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: > How far back does it need to be ported? Just to 3.5? Up to 2.7, expat 2.2.1 was updated to 2.7 as well. I even proposed a PR for 3.3 and 3.4 (not merged yet). But since this issue only fixes a warning, I don't think that it's worth it to backport it to 3.3

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 2.7 ___ Python tracker ___ ___

[issue9566] Compilation warnings under x64 Windows

2017-06-29 Thread Segev Finer
Segev Finer added the comment: I submitted a PR which fixes some more warnings. The ones I haven't fixed are detailed in the PR description. -- nosy: +Segev Finer versions: +Python 3.7 ___ Python tracker

[issue9566] Compilation warnings under x64 Windows

2017-06-29 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2551 ___ Python tracker ___ ___

[issue1612262] Class Browser doesn't show internal classes

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the patch for #6691 will also add detection of nested functions. If so, the IDLE patch must also make use of that new information. If the patch for #6691 is only applied to 3.7, I want to put a temporary copy of the revised pyclbr in 3.6 idlelib,

[issue30806] netrc.__repr__() is broken for writing to file

2017-06-29 Thread James
New submission from James: Have any valid .netrc file. For testing purposes you can use this: machine abc.xyz login myusername password mypassword The documentation for netrc.__repr__() states that it "dumps the class data as a string in the format of a netrc file". However, when you try to

[issue30787] Please add a comprehensive index of decorators to the documentation.

2017-06-29 Thread tom kronmiller
tom kronmiller added the comment: I would not object if there was an index which contained the decorators among other things, but I have found it difficult in practice to discover things like @staticmethod and @contextmanager. Just as I browse the index of library modules to for insight as

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread David Bolen
David Bolen added the comment: Antoine, yes. Send me your public key (db3l.net at gmail) and I'll set it up. -- ___ Python tracker ___

[issue30760] configparse module in python3 can not write '%' to config file

2017-06-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker ___ ___

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2017-06-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-29 Thread Utkarsh Upadhyay
Utkarsh Upadhyay added the comment: I went through the e-mail chain discussing the changes in repr again and I have come around to seeing that though Guido was somewhat opposed to the idea of factoring out the minus sign because it would have meant changing the attributes [1], what he really

[issue6691] Support for nested classes and function for pyclbr

2017-06-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'm working on a PR for this. It passed the existing test cases, but then I tried something that didn't pass, so I'm working on fixing that. -- nosy: +csabella ___ Python tracker

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: It appears you are right about open('con'...). However, this issue is about the fact that >>> import time; time.sleep(10) ^C ... KeyboardInterrupt works in the console but does not work in the IDLE Shell in default mode. In default mode (-n not on the

  1   2   >