Tornado 6.5 Documentation
Tornado Documentation Release 6.5.1 The Tornado Authors May 22, 2025CONTENTS 1 Quick links 3 2 Hello, world 5 3 Threads and WSGI 7 4 asyncio Integration 9 5 Installation 11 6 Documentation 13 Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 6.9 Release notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 7 Discussion and support 255 Python Module Index 257 Index 259 iiiTornado Documentation, Release 6.5.1 Tornado is a Python web framework and asynchronous networking library, originally developed0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
Quick links Current version: 6.5.1 (download from PyPI [https://pypi.python.org/pypi/tornado], release notes) Source (GitHub) [https://github.com/tornadoweb/tornado] Mailing lists: discussion [https://groups support for asynchronous code tornado.util — General-purpose utilities Frequently Asked Questions Release notes What’s new in Tornado 6.5.1 What’s new in Tornado 6.5.0 What’s new in Tornado 6.4.2 What’s new confuse some IDEs.Web framework tornado.web — RequestHandler and Application classes Thread-safety notes Request handlers RequestHandler Entry points RequestHandler.initialize() RequestHandler.prepare()0 码力 | 437 页 | 405.14 KB | 2 月前3Rust 程序设计语言 简体中文版 1.85.0
Linux 和 macOS 以及 Windows 提供相应的命令。 20/562Rust 程序设计语言 简体中文版 发布(release)构建 当项目最终准备好发布时,可以使用 cargo build --release 来优化编译项目。这会在 target/ release 而不是 target/debug 下生成可执行文件。这些优化可以让 Rust 代码运行的更快,不 过启用这些优化也需要消 了开发,你需要快速且频繁地重新构建;另一种是为用户构建最终程序,它们不会经常重新构 建,并且希望程序运行得越快越好。如果你在基准测试代码的运行时间,请确保运行 cargo build --release 并使用 target/release 下的可执行文件进行测试。 把 Cargo 当作习惯 对于简单项目,Cargo 并不比 rustc 提供了更多的优势,但随着程序变得更复杂,其价值会逐 渐显现。一旦程序壮 检查这类问题并使程序 panic。panic 这个术语被 Rust 用来表明程 序因错误而退出。第九章 “panic! 与不可恢复的错误” 部分会详细介绍 panic。 使用 --release flag 在 release 模式中构建时,Rust 不会检测会导致 panic 的整型溢 出。相反发生整型溢出时,Rust 会进行一种被称为二进制补码 wrapping(two’s complement0 码力 | 562 页 | 3.23 MB | 9 天前3
共 3 条
- 1