[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: The process is even killed. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/275/steps/test/logs/stdio Re-running test 'test_signal' in verbose mode test_enums (test.test_signal.GenericTests) ... ok test_itimer_exc (test.test_signal.It

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks references

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2543 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
New submission from alberfontan1: For a package applicaction with pyqt/PySide, Python 3.4 on Windows, appers a window fatal error when shoutdown process manager of multiprocessing -- components: Library (Lib) messages: 297261 nosy: alberfontan1 priority: normal severity: normal status:

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
Changes by alberfontan1 : -- pull_requests: +2544 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24412] setUpClass equivalent for addCleanup

2017-06-29 Thread Daryl Blanc
Changes by Daryl Blanc : -- nosy: +dablanc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2545 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks references

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset beeca6e1e5fd01531b1db7059498b13d07dca525 by Victor Stinner in branch 'master': bpo-30776: regrtest: reduce memleak false positive (#2484) https://github.com/python/cpython/commit/beeca6e1e5fd01531b1db7059498b13d07dca525 -- _

[issue27546] Integrate tkinter and asyncio (and async)

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue27546] Integrate tkinter and asyncio (and async)

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: If you're interesting in this, you should take a look at what Twisted has done, since they have a history of integrating with various GUI toolkits. You'll find everything in the "twisted.internet" package: https://github.com/twisted/twisted/tree/trunk/src/twiste

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2017-06-29 Thread Erik Bray
Changes by Erik Bray : -- pull_requests: +2546 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b by Victor Stinner in branch '3.6': bpo-30602: Fix refleak in os.spawnv() (#2212) (#2486) https://github.com/python/cpython/commit/b78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b -- _

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread winton Wang
New submission from winton Wang: datetime stiptime error according to "%U" format. Python version: 3.4.3, 2.7.13 ,3.6.0, 3.5.2 from datetime import datetime input: datetime.strptime('201726', '%Y%U') output: datetime.datetime(2007, 1, 1, 0, 0) -- components: Library (Lib) messag

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread winton Wang
winton Wang added the comment: the output: datetime.datetime(2017, 1, 1, 0, 0) I question about the week format if without the week of the weekday, the datetime should be the fist day of week as the default? -- ___ Python tracker

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Antoine Happy to any time. PM me public key on IRC (freenode:koobs) and I'll reply with user@host:port -- ___ Python tracker ___ __

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2547 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30803] Truth value of sets not properly documented

2017-06-29 Thread Peter Thomassen
New submission from Peter Thomassen: The truth value of sets is not properly documented, in particular regarding whether an empty set is considered false or not. Ignoring primitive (such as numerals) as well as user-defined types, https://docs.python.org/3/library/stdtypes.html#truth says: >

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: > Between datetime.timedelta(0) and datetime.timedelta(seconds=0), I am > ambivalent but I prefer the latter for consistency with the other repr. I read your latest PR. Now I don't like seconds=0 anymore. I would prefer a datetime.timedelta(0) special case. I

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.5, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list ma

[issue13821] misleading return from isidentifier

2017-06-29 Thread R. David Murray
R. David Murray added the comment: IMO allow_non_nfkc=True that just returns False would be a bad idea, since as Benjamin points out it *is* a valid identifier, it's just not normalized (yet). Raising might work, that way you could tell the difference, but that would be a weird API for such a

[issue13821] misleading return from isidentifier

2017-06-29 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset f7d090c165f6cd3d008fe60c78e5324caef53f80 by Antoine Pitrou in branch 'master': bpo-30796: Fix failures in signal delivery stress test (#2488) https://github.com/python/cpython/commit/f7d090c165f6cd3d008fe60c78e5324caef53f80 -- _

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 18974c35ad9d25ffea041dc0363dc01889f4a595 by Nick Coghlan in branch 'master': bpo-30647: Check nl_langinfo(CODESET) in locale coercion (GH-2374) https://github.com/python/cpython/commit/18974c35ad9d25ffea041dc0363dc01889f4a595 -- _

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: I was able to fix the test_readline failure by restoring the locale based on the environment settings with `setlocale(LC_CTYPE, "")` rather than the return value from a preceding call to `setlocale(LC_CTYPE, NULL)`. That means we can leave the runtime coercion c

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2017-06-29 Thread Matthew Barnett
Matthew Barnett added the comment: Expected result is datetime.datetime(2017, 6, 25, 0, 0). -- nosy: +mrabarnett ___ Python tracker ___ __

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2548 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The stable buildbots seem fine now (problem fixed on FreeBSD 9, thank you Koobs!). -- ___ Python tracker ___ __

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Cathy Avery
Cathy Avery added the comment: I also issued a pull request https://github.com/python/cpython/pull/2489 Let me know if I screwed it up. Thanks, Cathy -- ___ Python tracker __

[issue30804] bolen-dmg-3.x build-installer.py failed

2017-06-29 Thread STINNER Victor
New submission from STINNER Victor: It may be related to bpo-29585, see commits: - a8f8d5b4bd30dbe0828550469d98f12d2ebb2ef4 - b01c574ad6d796025152b5d605eceb7816e6f7a7 - 6b42eb17649bed9615b6e6cecaefdb2f46990b2c http://buildbot.python.org/all/builders/bolen-dmg-3.x/builds/209/steps/compile/logs/s

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/979/steps/test/logs/stdio test_stress_delivery_dependent (test.test_signal.StressTest) ... Timeout (0:15:00)! Thread 0x405acdc0 (most recent call first): File "/srv/buildbot/buildarea

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, that function only sends 20 signals in a row. How can it timeout after 15 seconds? -- nosy: +db3l ___ Python tracker ___

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, it's not 15 seconds, it's 15 minutes... -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, there's definitely something fishy here. Look at the elapsed times: 0:16:33 load avg: 0.93 [281/406] test_ossaudiodev skipped -- running: test_signal (874 sec) test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp' 0:16:59 load avg: 0.

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: x86 Tiger is fine too. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue30796] Failures/crashes in test_signal on some buildbots

2017-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: David, would it be possible to have shell access to that machine? -- ___ Python tracker ___ ___ Pyth

[issue30772] If I make an attribute "

2017-06-29 Thread Nate Soares
Nate Soares added the comment: To be clear, the trouble I was trying to point at is that if foo.py didn't have __all__, then it would still have a BB attribute. But if the module is given __all__, the BB is normalized away into a B. This seems like pretty strange/counterintuitive behavior. For in

[issue27584] New addition of vSockets to the python socket module

2017-06-29 Thread Cathy Avery
Cathy Avery added the comment: The build and test bots failed but I don't understand why. The build could not find module _socket but that is not new and other modules failed. The test could not import fcntl which I did add but should not fail as I have run this test many time and other tests

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

2017-06-29 Thread Eryk Sun
Eryk Sun added the comment: > interrupt_main is now equivalent to the user having hit control-C. That's true on a POSIX system with pthread_kill, but not really for a Windows process that's attached to a console. A real Ctrl+C executes the registered control handlers for the process. To

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

2017-06-29 Thread Segev Finer
Segev Finer added the comment: All that remains is back porting https://github.com/python/cpython/pull/2375 and than this issue is fixed. -- ___ Python tracker ___ _

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

2017-06-29 Thread Eryk Sun
Eryk Sun added the comment: Terry, I assume you ran IDLE via pyw.exe or pythonw.exe, which won't inherit the console of its parent. You have to use py.exe or python.exe. In this case you can also use sys.__stdout__.write('spam\n'). If you run via pythonw.exe or pyw.exe from a command prompt, y

[issue30805] asyncio: race condition with debug and subprocess

2017-06-29 Thread William Grzybowski
New submission from William Grzybowski: If a process is schedule to run in the event loop with debug disabled and debug is then enabled before the process finishes it will result in a traceback: debug_log undefined. [2017/06/29 14:39:13] (ERROR) asyncio.default_exception_handler():1261 - Ta sk e

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

2017-06-29 Thread Steve Dower
Steve Dower added the comment: How far back does it need to be ported? Just to 3.5? -- stage: -> backport needed ___ 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 comman

[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

[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 d

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 ___ __

[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 to

[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 ac

[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, p

[issue9566] Compilation warnings under x64 Windows

2017-06-29 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2551 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 __

[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 a

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 == {0,

[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 ___ __

[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 ___ _

[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 b

[issue30807] setitimer() can disable timer by mistake

2017-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2552 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 ___

[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 ___ ___ Py

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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

[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 signal.sigtim

[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 expose

[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 __

[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 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 signa

[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 ___

[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 dro

[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: sig_a

[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 :-) -- __

[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 want

[issue30807] setitimer() can disable timer by mistake

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

[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

[issue30809] IDLE parenmatch - highlighting options

2017-06-29 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2554 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[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 compatibility.

[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 Antoine Pitrou
Antoine Pitrou added the comment: Ok, it's not select(), it's epoll_wait(). I see. -- ___ Python tracker ___ ___ Python-bugs-list mai

[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: Also using the PyTime APIs will make it annoying to backport to 2.7 (which isn't mandatory, of course). -- ___ Python tracker ___ _

[issue9566] Compilation warnings under x64 Windows

2017-06-29 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2556 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 ___

[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 mailing list Unsubscribe:

[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 ___ ___ Python-bug

[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) https://github.com/python/cpython/commit/42bc8beadd49f60cc52fdc397897b3bd816

[issue30495] IDLE: modernize textview module

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2557 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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) https://github.com/python/cpython/commit/6f31717c47e325460e2a661bf44b45d34

[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 ___

[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 ___ ___

[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 tr

[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 ___ ___ Python-bugs-list ma

[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 ___ ___ Python-

[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 submit

[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 ___ ___ Pyth

[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 ___

[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 ___ ___ Pyth

[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

  1   2   >