Andrey Rahmatullin
aaf94affee
Merge pull request #4213 from dqwerter/patch-1
...
Update overview.rst | Fix an inconsistency
2019-12-05 12:43:24 +05:00
Wang Qin
af624ef414
Update overview.rst | Fix an inconsistency
...
There exists an inconsistency between the code (line 37 - 38) and the output 'quotes.json' (line 56 - 68).
Note that even though according to line 53 - 54 'quotes.json' is "reformatted here for better readability", it cannot explain why the "author" field precedes the "text" field.
Intended output for the code BEFORE change:
[{
"text": "\u201cThe person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.\u201d",
"author": "Jane Austen"
},
{
"text": "\u201cOutside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.\u201d",
"author": "Groucho Marx"
},
{
"text": "\u201cA day without sunshine is like, you know, night.\u201d",
"author": "Steve Martin"
},
...]
Intended output for the code After change (the inconsistency is fixed):
[{
"author": "Jane Austen",
"text": "\u201cThe person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.\u201d"
},
{
"author": "Groucho Marx",
"text": "\u201cOutside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.\u201d"
},
{
"author": "Steve Martin",
"text": "\u201cA day without sunshine is like, you know, night.\u201d"
},
...]
2019-12-05 09:29:12 +08:00
Grammy Jiang
74627033c4
Remove the used import and re-arrange the imports ( #4208 )
...
This commit removes unused import and re-arrange the imports in cookies
module
2019-12-04 14:24:14 +01:00
Grammy Jiang
702333478d
Re-arrange the imports in httpcache module ( #4209 )
...
This commit re-arrange the imports in httpcache module to follow pep8
2019-12-04 14:23:28 +01:00
Grammy Jiang
5d8d4bb7d7
Re-arrange the imports in the httpproxy module ( #4210 )
...
This commit re-arranges the imports in the httpproxy module to follow
pep8
2019-12-04 14:22:10 +01:00
Mikhail Korobov
9b7452211a
Merge pull request #4099 from BurnzZ/itemloader-docs
...
update docs of scrapy.loader.ItemLoader.item
2019-12-03 13:14:45 +05:00
Grammy Jiang
d1cdfb4701
Use pprint.pformat on overridden settings ( #4199 )
...
Keeps consistency with scrapy.middleware
2019-11-29 09:13:57 +01:00
Mikhail Korobov
3a5b86220f
Merge pull request #4194 from Gallaecio/intersphinx
...
Use InterSphinx for coverage links
2019-11-28 17:36:19 +05:00
Adrián Chaves
b73fc99b60
Use InterSphinx for coverage links
2019-11-26 10:31:55 +01:00
Andrey Rahmatullin
8a1c99676e
Merge pull request #3899 from elacuesta/py3_single_argument_processors
...
[Py3] Item loaders: allow single argument functions as processors
2019-11-25 13:47:58 +05:00
Eugenio Lacuesta
40b5cfc0a4
Item loaders: allow single-argument processors (unbound methods)
2019-11-22 20:47:22 -03:00
Mikhail Korobov
16e0636dcf
Merge pull request #4186 from Gallaecio/lgtm
...
Remove unused imports
2019-11-22 12:28:29 +05:00
Adrián Chaves
9b5053c564
Undo unintended tox.ini changes
2019-11-21 22:00:34 +01:00
Mikhail Korobov
0d416c6191
Merge pull request #4185 from Gallaecio/intersphinx
...
Use InterSphinx for links to the pytest and tox documentation
2019-11-21 23:27:57 +05:00
Mikhail Korobov
82c01c261f
Merge pull request #4184 from Gallaecio/doctest
...
Make debug doctests pass
2019-11-21 20:53:56 +05:00
Adrián Chaves
b232881356
Restore intentional import of unused objects
2019-11-21 14:30:10 +01:00
Mikhail Korobov
91c9576675
Merge pull request #4183 from Gallaecio/sphinx-extensions-2
...
Enable sphinx-hoverxref for all references
2019-11-21 18:25:21 +05:00
Mikhail Korobov
d2b73b8e21
Merge pull request #4114 from scrapy/remove-py2-tests
...
Remove py2 tests
2019-11-21 18:22:10 +05:00
Adrián Chaves
a2bf340bab
Remove unused imports
2019-11-21 14:21:17 +01:00
Adrián Chaves
fcfcabf1bd
Use InterSphinx for links to the pytest and tox documentation
2019-11-21 12:15:13 +01:00
Adrián Chaves
f251dda268
Make debug doctests pass
2019-11-21 11:59:10 +01:00
Adrián Chaves
4f80eff1e1
Enable sphinx-hoverxref for all references
2019-11-21 10:30:21 +01:00
Mikhail Korobov
f1fd7ec318
Merge pull request #4171 from Gallaecio/doctest
...
Make command doctests pass
2019-11-20 19:47:22 +05:00
Mikhail Korobov
65e2fb7d89
Merge pull request #4153 from Gallaecio/lgtm
...
MutableChain: return self from __iter__
2019-11-20 19:46:20 +05:00
Mikhail Korobov
d69e788fec
Merge pull request #4172 from Gallaecio/intersphinx
...
Use InterSphinx to link to the Twisted documentation
2019-11-20 19:38:50 +05:00
Mikhail Korobov
1f61b6b941
Merge pull request #4173 from Gallaecio/sphinx-extensions-2
...
Add tooltips to documentation cross-references
2019-11-20 19:38:05 +05:00
Mikhail Korobov
1b4afa28e7
Merge pull request #4169 from Gallaecio/sphinx-extensions
...
Include /requirements-py3.txt from /docs/requirements.txt
2019-11-20 19:36:43 +05:00
Mikhail Korobov
e96ca89a1d
Merge pull request #4174 from Gallaecio/flake8
...
Add missing blank lines between functions and classes
2019-11-20 19:34:04 +05:00
Andrey Rahmatullin
78ad01632f
Fix flake8 problems in PR #3989 ( #4176 )
2019-11-19 10:43:30 +01:00
Andrey Rakhmatullin
beb7d80d6a
Add a comment about the noconnect tests.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
922a66cf07
Fix or ignore flake8 problems.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
a7b640991d
Rename tests/py3-ignores.txt to tests/ignores.txt.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
8b730a3670
Use self.proc.communicate() after killing mitmdump.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
5970d00eb9
Only xfail test_https_connect_tunnel_error on 3.6+.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
5080180c75
Improve the test_https_tunnel_without_leak_proxy_authorization_header change.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
c4ef950efd
Use an older mitmproxy for py3.5.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
3ec6960732
Fix test_proxy_connect.py for py3.5.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
c327ad9ba6
Remove an unused six import.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
cbb6d0c6a7
Mark failing proxy tests.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
f066257e95
Restore tests/test_proxy_connect.py and update it to modern mitmproxy.
2019-11-19 13:52:49 +05:00
Andrey Rakhmatullin
e18014d84d
Remove Python 2-only tests.
2019-11-19 13:52:49 +05:00
Andrey Rahmatullin
25cd7ac7ab
Merge pull request #4094 from victor-torres/invalid-url
...
Improve URL schema validation on scrapy.Request initialization
2019-11-19 13:50:08 +05:00
Andrey Rahmatullin
3408b757c1
Merge pull request #3989 from elacuesta/logformatter_error_method
...
LogFormatter improvements
2019-11-19 13:44:43 +05:00
Andrey Rahmatullin
e829c47eb8
Merge pull request #3937 from sbs2001/patch-10
...
Update reactor.py, updated 'if' sequencing .
2019-11-19 11:20:56 +05:00
Adrián Chaves
f261cf65e9
Add missing blank lines between functions and classes
...
Also fixed 2 unrelated Flake8 issues
2019-11-18 17:16:09 +01:00
Adrián Chaves
fed93515de
Add tooltips to documentation cross-references
2019-11-18 16:11:03 +01:00
Adrián Chaves
e84cb18ca0
Use InterSphinx to link to the Twisted documentation
2019-11-18 15:50:45 +01:00
Adrián Chaves
74589df02f
Make command doctests pass
2019-11-18 14:51:44 +01:00
Adrián Chaves
99d8b05a0b
Deprecate scrapy.utils.python.MutableChain.next
2019-11-18 10:58:47 +01:00
Adrián Chaves
393a2a1972
Include /requirements-py3.txt from /docs/requirements.txt
2019-11-18 09:15:48 +01:00