Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74943 > unrolled thread
| Started by | Yaşar Arabacı <yasar11732@gmail.com> |
|---|---|
| First post | 2014-07-21 21:38 +0300 |
| Last post | 2014-07-21 21:38 +0300 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Event loop documentation error Yaşar Arabacı <yasar11732@gmail.com> - 2014-07-21 21:38 +0300
| From | Yaşar Arabacı <yasar11732@gmail.com> |
|---|---|
| Date | 2014-07-21 21:38 +0300 |
| Subject | Event loop documentation error |
| Message-ID | <mailman.12144.1405967931.18130.python-list@python.org> |
I was reading https://docs.python.org/3/library/asyncio-eventloop.html#example-set-signal-handlers-for-sigint-and-sigterm
and wanted to test the example, however, I am getting this error when
I run the code;
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.
--
http://ysar.net/
Back to top | Article view | comp.lang.python
csiph-web