%PDF- %PDF-
Direktori : /lib64/python2.7/site-packages/tornado/platform/ |
Current File : //lib64/python2.7/site-packages/tornado/platform/asyncio.pyc |
� ��L]c @� s= d Z d d l m Z m Z m Z m Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z y d d l Z Wn= e k r� Z y d d l Z Wq� e k r� e � q� Xn Xd e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d � Z e e d � r9e j e j e � n d S( s� Bridges between the `asyncio` module and Tornado IOLoop. This is a work in progress and interfaces are subject to change. To test: python3.4 -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOLoop python3.4 -m tornado.test.runtests --ioloop=tornado.platform.asyncio.AsyncIOMainLoop (the tests log a few warnings with AsyncIOMainLoop because they leave some unfinished callbacks on the event loop that fail when it resumes) i ( t absolute_importt divisiont print_functiont with_statementN( t convert_yielded( t IOLoop( t stack_contextt BaseAsyncIOLoopc B� sw e Z e d � Z e d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z RS( c K� si t t | � j | � | | _ | | _ | j j | j � i | _ t � | _ t � | _ t | _ d S( N( t superR t initializet asyncio_loopt close_loopt call_soont make_currentt handlerst sett readerst writerst Falset closing( t selfR R t kwargs( ( s>