Tornado 6.0 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. Decorated coroutines: have additional integration with the concurrent.futures [https://docs.python yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: tornado.httputil.HTTPHeaders = None, buffer: _io.BytesIO = None, effective_url: str = None, error: BaseException = None, request_time: float = None, time_info: Dict[str, float]0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. Decorated coroutines: have additional integration with the concurrent.futures [https://docs.python yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError headers: Optional[tornado.httputil.HTTPHeaders] = None, buffer: Optional[_io.BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: tornado.httputil.HTTPHeaders = None, buffer: _io.BytesIO = None, effective_url: str = None, error: BaseException = None, request_time: float = None, time_info: Dict[str, float]0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: Optional[HTTPHeaders] = None, buffer: Optional[BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: Optional[HTTPHeaders] = None, buffer: Optional[BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: Optional[HTTPHeaders] = None, buffer: Optional[BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.5 Documentationkinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPResponse(request: HTTPRequest, code: int, headers: HTTPHeaders | None = None, buffer: BytesIO | None = None, effective_url: str | None = None, error: BaseException | None = None, request_time: float | None = None, time_info:0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 4.5 Documentation
yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: @gen.coroutine def divide(x, y): return x / y def bad_call(): # This should raise Response objects class tornado.httpclient.HTTPResponse(request, code, headers=None, buffer=None, effective_url=None, error=None, request_time=None, time_info=None, reason=None) HTTP Response object. Attributes: human-readable reason phrase describing the status code headers: tornado.httputil.HTTPHeaders object effective_url: final location of the resource after following any redirects buffer: cStringIO object for response0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.2 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: Optional[HTTPHeaders] = None, buffer: Optional[BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.3 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError HTTPRequest, code: int, headers: Optional[HTTPHeaders] = None, buffer: Optional[BytesIO] = None, effective_url: Optional[str] = None, error: Optional[BaseException] = None, request_time: Optional[float]0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













