Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
tornadoweb
Tornado
提交
d1a98ec5
Tornado
项目概览
镜像
/
tornadoweb
/
Tornado
大约 1 年 前同步成功
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Tornado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d1a98ec5
编写于
1月 27, 2018
作者:
B
Ben Darnell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update release notes and set version to 5.0b1
上级
5e68d4eb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
25 addition
and
4 deletion
+25
-4
docs/iostream.rst
docs/iostream.rst
+1
-0
docs/releases/v5.0.0.rst
docs/releases/v5.0.0.rst
+21
-1
setup.py
setup.py
+1
-1
tornado/__init__.py
tornado/__init__.py
+2
-2
未找到文件。
docs/iostream.rst
浏览文件 @
d1a98ec5
...
...
@@ -13,6 +13,7 @@
.. automethod:: BaseIOStream.write
.. automethod:: BaseIOStream.read_bytes
.. automethod:: BaseIOStream.read_into
.. automethod:: BaseIOStream.read_until
.. automethod:: BaseIOStream.read_until_regex
.. automethod:: BaseIOStream.read_until_close
...
...
docs/releases/v5.0.0.rst
浏览文件 @
d1a98ec5
...
...
@@ -78,6 +78,11 @@ Other notes
- Python 3.6 or higher is recommended, because it features more
efficient garbage collection of `asyncio.Future` objects.
`tornado.auth`
~~~~~~~~~~~~~~
- `.GoogleOAuth2Mixin` now uses a newer set of URLs.
`tornado.autoreload`
~~~~~~~~~~~~~~~~~~~~
...
...
@@ -140,6 +145,8 @@ Other notes
`tornado.httpserver`
~~~~~~~~~~~~~~~~~~~~
- It is now possible for a client to reuse a connection after sending
a chunked request.
- If a client sends a malformed request, the server now responds with
a 400 error instead of simply closing the connection.
- ``Content-Length`` and ``Transfer-Encoding`` headers are no longer
...
...
@@ -171,6 +178,8 @@ Other notes
- ``IOLoop.initialized`` has been removed.
- On Python 3, the `asyncio`-backed `.IOLoop` is always used and
alternative `.IOLoop` implementations cannot be configured.
`.IOLoop.current` and related methods pass through to
`asyncio.get_event_loop`.
- `~.IOLoop.run_sync` cancels its argument on a timeout. This
results in better stack traces (and avoids log messages about leaks)
in native coroutines.
...
...
@@ -187,11 +196,16 @@ Other notes
`.IOLoop.set_blocking_log_threshold` methods are deprecated because
they are not implemented for the `asyncio` event loop`. Use the
``PYTHONASYNCIODEBUG=1`` environment variable instead.
- `.IOLoop.clear_current` now works if it is called before any
current loop is established.
- The ``IOLoop.initialized`` method has been removed.
`tornado.iostream`
~~~~~~~~~~~~~~~~~~
- The ``io_loop`` argument to the `.IOStream` constructor has been removed.
- New method `.BaseIOStream.read_into` provides a minimal-copy alternative to
`.BaseIOStream.read_bytes`.
- `.BaseIOStream.write` is now much more efficient for very large amounts of data.
- Fixed some cases in which ``IOStream.error`` could be inaccurate.
- Writing a `memoryview` can no longer result in "BufferError:
...
...
@@ -228,9 +242,12 @@ Other notes
when appropriate; referencing them explicitly is no longer
recommended.
- Starting an `.IOLoop` or making it current now also sets the
`asyncio` event loop for the current thread.
`asyncio` event loop for the current thread. Closing an `.IOLoop`
closes the corresponding `asyncio` event loop.
- `.to_tornado_future` and `.to_asyncio_future` are deprecated since
they are now no-ops.
- `~.AnyThreadEventLoopPolicy` can now be used to easily allow the creation
of event loops on any thread (similar to Tornado's prior policy).
`tornado.platform.caresresolver`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -282,6 +299,9 @@ Other notes
- The deprecated ``tornado.testing.get_unused_port`` and
``tornado.testing.LogTrapTestCase`` have been removed.
- `.AsyncHTTPTestCase.fetch` now supports absolute URLs.
- `.AsyncHTTPTestCase.fetch` now connects to ``127.0.0.1``
instead of ``localhost`` to be more robust against faulty
ipv6 configurations.
`tornado.util`
~~~~~~~~~~~~~~
...
...
setup.py
浏览文件 @
d1a98ec5
...
...
@@ -103,7 +103,7 @@ http://api.mongodb.org/python/current/installation.html#osx
kwargs
=
{}
version
=
"5.0
a
1"
version
=
"5.0
b
1"
with
open
(
'README.rst'
)
as
f
:
kwargs
[
'long_description'
]
=
f
.
read
()
...
...
tornado/__init__.py
浏览文件 @
d1a98ec5
...
...
@@ -24,5 +24,5 @@ from __future__ import absolute_import, division, print_function
# is zero for an official release, positive for a development branch,
# or negative for a release candidate or beta (after the base version
# number has been incremented)
version
=
"5.0
a
1"
version_info
=
(
5
,
0
,
0
,
-
9
9
)
version
=
"5.0
b
1"
version_info
=
(
5
,
0
,
0
,
-
9
8
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录