1
0
forked from VimPlug/jedi
Commit Graph

52 Commits

Author SHA1 Message Date
Peter Law
75624f0e3c Convert more things to Python 3 idioms 2021-07-24 17:12:34 +01:00
Peter Law
6364dd1511 Add explicit Optional annotation
This isn't a mypy issue -- there's no way it could otherwise know
that this `None` value is in fact an optional callable.
2020-07-26 14:43:41 +01:00
Peter Law
b892c07841 Merge branch 'master' into mypy 2020-07-26 12:25:19 +01:00
Dave Halter
9d1587a41d Don't need to inherit from object anymore 2020-07-26 00:11:57 +02:00
Peter Law
35c2d660cb Fix most import related mypy errors 2020-07-24 16:10:34 +01:00
Dave Halter
f1366b8a74 Remove the u() unicode function 2020-07-02 10:35:39 +02:00
Dave Halter
a51f667be8 Cleanse the API from Python 2 stuff 2020-07-02 10:24:44 +02:00
Dave Halter
0cd6a8f5cc Remove is_py3 and is_py35 2020-07-02 02:23:33 +02:00
Dave Halter
1d1c0ec3af Better debugging output for is_sub_class_of 2020-06-14 17:55:53 +02:00
Dave Halter
255d4fc04f Better debugging with the increase_indent_cm 2019-05-28 18:50:46 +02:00
Dave Halter
742f385f23 Add a context manager for increasing indents 2019-05-28 10:53:05 +02:00
Dave Halter
0fb5fd271a Better scanning for module names, now includes namespace packages and stubs 2019-05-18 00:11:08 +02:00
Dave Halter
b1bd630a37 Make it possible to use error for debugging 2019-05-17 23:39:26 +02:00
Dave Halter
63bd762f91 Fix a colorama debug highlighting issue 2018-12-06 01:12:48 +01:00
Daniel Hahler
10b61c41f4 Some minor flake8 fixes 2018-07-16 23:41:42 +02:00
Dave Halter
1672613d04 colorama should always color, even if it's not a shell
I need this for some_script.py | less -R
2018-03-18 01:05:59 +01:00
Dave Halter
f2d24f0259 Remove inspecting the stack in the debugger.
This feature wasn't used anymore and it made debugging a slower by a factor of 10-10000.
2017-09-17 03:03:12 +02:00
Dave Halter
f605359c16 More comprehension issues. 2016-07-28 18:12:41 +02:00
Dave Halter
82c76fa689 Merge with the linter branch (especially the changes of pep484. 2016-06-07 13:51:25 +02:00
Dave Halter
ed152e440e Merge master into the away branch. The merge conflict that was resolved was to get 'debug.py' working again. 2016-06-07 08:55:27 +02:00
Matthias Bussonnier
e96cccb81c Document a bit more 2016-05-18 16:48:08 -07:00
Matthias Bussonnier
4ba6000f92 Initialize colorama lazily
Will prevent colorama from wrapping stderr/out if not in debug mode,
which leads to some errors.
2016-05-17 16:49:57 -07:00
Dave Halter
17a1a0ebfd Colorama 0.3.6 is buggy, so just don't import it if it's not there. 2016-01-28 14:39:18 -02:00
Dave Halter
bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter
70160d97e7 Debugging with more colors, yay. 2015-10-18 14:19:03 +02:00
Dave Halter
255c8f013d Set the debug_indent default right. 2015-10-16 02:41:46 +02:00
Dave Halter
72fd190149 unicode strings should not raise an error if used in repr.
Python 2 doesn't allow unicode objects in __repr__ methods. Therefore we need to encode them as utf-8 bytes.
2015-03-25 23:42:52 +01:00
Dave Halter
868dab4f51 small debug change 2014-08-15 02:26:13 +02:00
Dave Halter
7e651684ff fix problems with debug mode if not correctly initialized. 2014-02-20 14:17:05 +01:00
Dave Halter
3337d638d1 fix some colorama/pytest combo crazyness 2014-01-17 01:02:50 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
2bde6cde08 changing completion of python file objects 2014-01-12 18:07:58 +01:00
Dave Halter
99fe204496 Merge remote-tracking branch 'origin/dev' into builtin 2014-01-12 17:04:48 +01:00
blink1073
f47d529f76 Allow creation of the Fore class on Windows 2014-01-12 07:53:06 -06:00
blink1073
4045e6f239 Fix troublesome import of colorama on Windows 2014-01-12 07:50:46 -06:00
Dave Halter
1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00
Dave Halter
e7c7bbca79 simple debugging improvement - make it more readable by giving it an indent 2014-01-11 01:58:31 +01:00
Dave Halter
546a7bbad9 merged _some_method and _remove_statements 2014-01-07 10:53:53 +01:00
Dave Halter
abe8de679b update ignored debug modules 2014-01-06 21:56:16 +01:00
Dave Halter
05f7e6f4b5 import changes so that all local imports are 'from jedi.* import *' 2013-12-25 18:48:12 +01:00
David Halter
cf4325cef1 fix an output proplem with debugging via stdout (encoding in python 2) 2013-08-11 21:05:29 +04:30
David Halter
f93226420e fix a few debugging problems 2013-08-11 20:10:52 +04:30
David Halter
a72601a9d8 use docopt for run.py executions, much more readable 2013-08-11 19:53:14 +04:30
David Halter
29f89cc75a finally fixed a unicode problem that existed for a longer time 2013-07-18 16:55:19 +02:00
Laurens Van Houtven
cdc41128b4 (Mostly) whitespace fixes 2013-07-10 14:45:47 +02:00
Danilo Bargen
86d775324b Fix most flake8 issues (fixes #205) 2013-04-27 15:40:36 +02:00
David Halter
d08c12bb06 change debug functions for jedi-vim 2012-11-28 17:37:28 +01:00
David Halter
2a553272d7 added speed notifications for get_in_function_call 2012-11-26 11:40:03 +01:00
David Halter
dfaa2ed38e added speed function 2012-11-24 18:15:20 +01:00