Tornado 6.1 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result request_timeout: Optional[float] = None, if_modified_since: Union[float, datetime.datetime, None] = None, fol- low_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = Optional[str] = None, proxy_password: Optional[str] = None, proxy_auth_mode: Optional[str] = None, al- low_nonstandard_methods: Optional[bool] = None, validate_cert: Optional[bool] = None, ca_certs: Optional[str]0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 5.1 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result proxy_password=None, proxy_auth_mode=None, allow_nonstandard_methods=None, val- idate_cert=None, ca_certs=None, al- low_ipv6=None, client_key=None, client_cert=None, body_producer=None, expect_100_continue=False, decompress_response=None 'high-priority item')) q.put((10, 'low-priority item')) print(q.get_nowait()) print(q.get_nowait()) print(q.get_nowait()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item') LifoQueue0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result re- quest_timeout: float = None, if_modified_since: Union[float, datetime.datetime] = None, fol- low_redirects: bool = None, max_redirects: int = None, user_agent: str = None, use_gzip: bool = None, network_interface: 'high-priority item')) q.put((10, 'low-priority item')) print(q.get_nowait()) print(q.get_nowait()) print(q.get_nowait()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item') LifoQueue0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.0 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result 'high-priority item')) q.put((10, 'low-priority item')) print(q.get_nowait()) print(q.get_nowait()) print(q.get_nowait()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item') LifoQueue low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close:0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result 'high-priority item')) q.put((10, 'low-priority item')) print(q.get_nowait()) print(q.get_nowait()) print(q.get_nowait()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item') LifoQueue low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close:0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 4.5 Documentation
proxy_password=None, proxy_auth_mode=None, allow_nonstandard_methods=None, val- idate_cert=None, ca_certs=None, al- low_ipv6=None, client_key=None, client_cert=None, body_producer=None, expect_100_continue=False, decompress_response=None 'high-priority item')) q.put((10, 'low-priority item')) print(q.get_nowait()) print(q.get_nowait()) print(q.get_nowait()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item') LifoQueue behav- ior. • tornado.web.RequestHandler.get_secure_cookie now has a max_age_days parameter to al- low applications to override the default one-month expiration. • set_cookie now accepts a max_age keyword0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.4 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low- level components like the IOLoop that use callbacks. Futures are usually transformed into their result item')) q.put((10, 'low-priority item')) print(await q.get()) print(await q.get()) print(await q.get()) asyncio.run(main()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item')0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low- level components like the IOLoop that use callbacks. Futures are usually transformed into their result item')) q.put((10, 'low-priority item')) print(await q.get()) print(await q.get()) print(await q.get()) asyncio.run(main()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item')0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low- level components like the IOLoop that use callbacks. Futures are usually transformed into their result item')) q.put((10, 'low-priority item')) print(await q.get()) print(await q.get()) print(await q.get()) asyncio.run(main()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item')0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Asynchronous operations in Tornado generally return placeholder objects (Futures), with the exception of some low- level components like the IOLoop that use callbacks. Futures are usually transformed into their result item')) q.put((10, 'low-priority item')) print(await q.get()) print(await q.get()) print(await q.get()) asyncio.run(main()) (0, 'high-priority item') (1, 'medium-priority item') (10, 'low-priority item')0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













