Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
looyolo
scrapy
提交
3b2a6abc
S
scrapy
项目概览
looyolo
/
scrapy
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
scrapy
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3b2a6abc
编写于
2月 03, 2016
作者:
P
Paul Tremberth
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Format "Code refactoring" subsection
上级
ed024550
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
12 deletion
+8
-12
docs/news.rst
docs/news.rst
+8
-12
未找到文件。
docs/news.rst
浏览文件 @
3b2a6abc
...
...
@@ -291,18 +291,9 @@ Logging
Code refactoring
~~~~~~~~~~~~~~~~
- Avoid creation of temporary list object in iflatten #1476 (https://github.com/scrapy/scrapy/commit/6ae8963256f52bcc26ea8b4edc938743b07b6b2c)
- equal_attributes function optimization #1477 (https://github.com/scrapy/scrapy/commit/6490cb534e8e9a9068a8e298a8c6edb6be9725c5)
- Optimization - avoid temporary list objects, unnecessary function call #1481 (https://github.com/scrapy/scrapy/commit/3e13740a5765152e1b8241ad4db91efac5c746d7)
- Small downloader slots cleanup #1315 (https://github.com/scrapy/scrapy/commit/8a140b6ba1cf89e4a3bb74f8afb6e81c283e298b)
downloader.Slot becomes unaware of Scrapy settings;
it got __str__ and __repr__ methods useful in manhole;
unused import is dropped;
absolute_imports future import is added (I like adding it everywhere).
- extract CrawlerRunner._crawl method which always expects Crawler #1290 (https://github.com/scrapy/scrapy/commit/5bcda9b7d13b9c3b486c2b247fd6d87a7b59df1a)
Provides an extension point where crawler instance is available;
makes it easier to write alternative CrawlerRunner.crawl implementations.
User can override CrawlerRunner._crawl method and connect signals there.
- Optimization on lists (:issue:`1476` and :issue:`1481`)
- equal_attributes function optimization (:issue:`1477`)
- Downloader slots cleanup (:issue:`1315`)
Other changes
...
...
@@ -325,6 +316,11 @@ Other changes
- (MINOR) fixed typo You -> you #1698 (https://github.com/scrapy/scrapy/commit/e8b26e2ab25ac7ec15c03d3c0b766c7aa8f48cce)
Fixes DOWNLOAD_WARNSIZE is too verbose #1303
- extract CrawlerRunner._crawl method which always expects Crawler #1290 (https://github.com/scrapy/scrapy/commit/5bcda9b7d13b9c3b486c2b247fd6d87a7b59df1a)
Provides an extension point where crawler instance is available;
makes it easier to write alternative CrawlerRunner.crawl implementations.
User can override CrawlerRunner._crawl method and connect signals there.
1.0.4 (2015-12-30)
------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录