From 1a452c038cc0547924051a7cd0786215ec7c2104 Mon Sep 17 00:00:00 2001 From: Bernardas Date: Thu, 18 May 2017 16:57:13 +0000 Subject: [PATCH] increase ptpython priority since it can use other shells as backend --- scrapy/utils/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/utils/console.py b/scrapy/utils/console.py index a9d73aada..2e9981556 100644 --- a/scrapy/utils/console.py +++ b/scrapy/utils/console.py @@ -56,9 +56,9 @@ def _embed_standard_shell(namespace={}, banner=''): return wrapper DEFAULT_PYTHON_SHELLS = OrderedDict([ + ('ptpython', _embed_ptpython_shell), ('ipython', _embed_ipython_shell), ('bpython', _embed_bpython_shell), - ('ptpython', _embed_ptpython_shell), ('python', _embed_standard_shell), ])