Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:error': 0.03; 'report.': 0.07; 'wrong,': 0.09; 'bug': 0.12; 'windows': 0.15; 'error': 0.23; 'skip:l 30': 0.24; 'skip:" 30': 0.26; 'wondering': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; 'something': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'subject:skip:d 10': 0.36; 'doing': 0.36; 'url:org': 0.36; 'example,': 0.37; 'list': 0.37; 'url:library': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'url:3': 0.61; 'from:charset:utf-8': 0.61; 'skip:n 10': 0.64 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1UgDSayx7VHBrTV8e3bzoCMz+hltx78pCvA2bHciuuI=; b=sED7/z3QfnXZbuCr6k2QZd9NsS6UJEJmFou9ztbsR/NTTRRnAiZMzE2NVt3QfDVCXl sk/83JqHR+e5jazPerIH8yDaXtD7uN8bWEiLLC1Wek8OEV07u0HuXbivK5y9MZAXEVMy P1ieryTQ1IEFa9P3Y6rDpMYWhz1PQas1s+H27e7ifk3VIVWbEbZje3+HTA7J2fP5ZTic cYeGjwIz+avq+HU8x7/ybUlt6iYcBOyo8IXI8A3BVfOCLFgN/m17dfLxjH4r2hR9v6py xv+O8JgU710O9TcMpG5UDWuxZ2iH4qpW16AbNQD9cJI+t7EYxebF/woAF3yPR+7/hUX2 x2sw== MIME-Version: 1.0 X-Received: by 10.236.172.161 with SMTP id t21mr43422138yhl.65.1405967929427; Mon, 21 Jul 2014 11:38:49 -0700 (PDT) Date: Mon, 21 Jul 2014 21:38:49 +0300 Subject: Event loop documentation error From: =?UTF-8?B?WWHFn2FyIEFyYWJhY8Sx?= To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405967931 news.xs4all.nl 2859 [2001:888:2000:d::a6]:45753 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74943 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 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/