Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74944 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-07-22 04:45 +1000 |
| Last post | 2014-07-22 04:45 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Event loop documentation error Chris Angelico <rosuav@gmail.com> - 2014-07-22 04:45 +1000
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-07-22 04:45 +1000 |
| Subject | Re: Event loop documentation error |
| Message-ID | <mailman.12145.1405968308.18130.python-list@python.org> |
On Tue, Jul 22, 2014 at 4:38 AM, Yaşar Arabacı <yasar11732@gmail.com> wrote: > Traceback (most recent call last): > File "C:/Users/gorki/Documents/Python Scripts/as-io.py", line 14, in <module> > loop.add_signal_handler(SIGINT, partial(ask_exit, "SIGINT")) > File "C:\Python34\lib\asyncio\events.py", line 329, in add_signal_handler > raise NotImplementedError > NotImplementedError > > I was wondering if there is something I am doing wrong, or is this > behaviour platform specific (I am on windows 7). I wanted to ask in > the list before I file a bug report. SIGINT is a Unix signal. There is an equivalent for Windows, but it wouldn't at all surprise me if trying to hook signals raises NotImplementedError. See if there's a different way to hook Ctrl-C on Windows; if not, you may want to word your report as a feature request. ChrisA
Back to top | Article view | comp.lang.python
csiph-web