1 Beautiful PythonPYTHON 95 BRUCE ECKEL Author of: • On Java 8 • Thinking in Java • Atomic Scala • Atomic Kotlin • and many other books. Loves Python ?. Designed t-shirt for PyCon US 2009. 96 97 990 码力 | 109 页 | 34.99 MB | 1 年前3
3 Thautwarm 解放python的表达力 性能和安全性 语法和语义扩展 JIT 静态检查 nes.py 怎么理解 _ 和 _0_ ? 把参数位转 lambda / 把整个函数调用转lambda 可不可以自己定制语法 ? 可以, #+quick-lambda(it) 得到类kotlin语法 有什么用 ? 克服你写小函数的烦躁, 冗余度小,理解后比lambda语法更直观 演示 这不是函数式! 这不是函数式! 这不是函数式! 这只是Python。 但想学函数式请联系我,我专业。0 码力 | 43 页 | 10.71 MB | 1 年前3
Tornado 5.1 Documentation
only for development use. Without reworking Tornado IOLoop interface, it’s not possible to add a native Tornado Windows IOLoop implementation or leverage Windows’ IOCP support from frameworks like AsyncIO straightforward way than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: 12 Chapter 5. Documentation Tornado Documentation, Release 5.1.1 from tornado.httpclient0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 5.1 Documentation
only for development use. Without reworking Tornado IOLoop interface, it’s not possible to add a native Tornado Windows IOLoop implementation or leverage Windows’ IOCP support from frameworks like AsyncIO guide Introduction Asynchronous and non-Blocking I/O Blocking Asynchronous Examples Coroutines Native vs decorated coroutines How it works How to call a coroutine Coroutine patterns Calling blocking straightforward way than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.0 Documentation
only for development use. Without reworking Tornado IOLoop interface, it’s not possible to add a native Tornado Windows IOLoop implementation or leverage Windows’ IOCP support from frameworks like AsyncIO straightforward way than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.1 Documentation
straightforward way than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: 14 Chapter 6. Documentation Tornado Documentation, Release 6.1 from tornado.httpclient Tornado Documentation, Release 6.1 Native vs decorated coroutines Python 3.5 introduced the async and await keywords (functions using these keywords are also called “native coroutines”). For compatibility0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
only for development use. Without reworking Tornado IOLoop interface, it’s not possible to add a native Tornado Windows IOLoop implementation or leverage Windows’ IOCP support from frameworks like AsyncIO guide Introduction Asynchronous and non-Blocking I/O Blocking Asynchronous Examples Coroutines Native vs decorated coroutines How it works How to call a coroutine Coroutine patterns Calling blocking straightforward way than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.4 Documentation
http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client Tornado Documentation, Release 6.4 Native vs decorated coroutines Python 3.5 introduced the async and await keywords (functions using these keywords are also called “native corou- tines”). For compatibility you can use “decorated” or “yield-based” coroutines using the tornado.gen.coroutine decorator. Native coroutines are the recommended form whenever possible. Only use decorated coroutines when compatibility0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client Tornado Documentation, Release 6.4 Native vs decorated coroutines Python 3.5 introduced the async and await keywords (functions using these keywords are also called “native corou- tines”). For compatibility you can use “decorated” or “yield-based” coroutines using the tornado.gen.coroutine decorator. Native coroutines are the recommended form whenever possible. Only use decorated coroutines when compatibility0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client Tornado Documentation, Release 6.4 Native vs decorated coroutines Python 3.5 introduced the async and await keywords (functions using these keywords are also called “native corou- tines”). For compatibility you can use “decorated” or “yield-based” coroutines using the tornado.gen.coroutine decorator. Native coroutines are the recommended form whenever possible. Only use decorated coroutines when compatibility0 码力 | 268 页 | 1.09 MB | 1 年前3
共 386 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39













