[issue18040] SIGINT catching regression on windows in 2.7

2013-10-01 Thread Gabi Davar
Changes by Gabi Davar grizzly@gmail.com: -- nosy: +Gabi.Davar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18040 ___ ___ Python-bugs-list

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-30 Thread Tim Golden
Tim Golden added the comment: Personally, I'm +0 at best on this change. It would achieve consistency with Linux but I'm not sure what you'd do with such functionality. Adding Richard Oudkerk who did the rework of the interrupt signal for 3.3. Richard, any opinion on this? -- nosy:

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-30 Thread Richard Oudkerk
Richard Oudkerk added the comment: I am not to familiar with the signal handling machinery. (I only did some refactoring to expose the event handle already used by time.sleep().) The change looks reasonable, but I am also not sure how necessary it is. --

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-30 Thread David Gilman
David Gilman added the comment: So the original motivation here was to piggyback on SIGINT in order to do something like this on Windows: http://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application I've given Tim's patch a shot and I see that I've been

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-30 Thread Tim Golden
Tim Golden added the comment: Thanks for the feedback, David. Closing as won't fix. -- resolution: - wont fix stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18040

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-26 Thread Tim Golden
Tim Golden added the comment: Correction: I see the desired behaviour in 3.3/3.4 which is where the overhaul to Ctrl-C handling on Windows was applied. I still can't see it in 2.6 or in 3.1/3.2 on Windows. The problem lies in the fact that PyOS_InterruptOccurred and PyErr_CheckSignals from

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-25 Thread Tim Golden
Tim Golden added the comment: My initial reaction is that, whether the 2.7 behaviour is faulty or not, I can't reproduce the correct behaviour on any version of Windows going back to 2.4. Take the attached Python file issue18040.py and run c:\pythonxx\python.exe -i issue18040.py for any

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-24 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: +loewis, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18040 ___ ___

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-22 Thread David Gilman
New submission from David Gilman: I opened this StackOverflow bug with an example simplified testcase. As you can see in the first comment a user added that this code worked under Python 2.6 on Windows and no longer works on 2.7.