Commit Graph
100 Commits
Author SHA1 Message Date
Dave Halter a711c29b59 Better overview over functions in the documentation 2018-04-15 12:11:06 +02:00
Dave Halter b531b6f4fd A small docs correction 2018-04-15 11:56:24 +02:00
Dave Halter 97b5dd9312 Remove the old static analysis stuff. It was never really used 2018-04-15 11:53:07 +02:00
Dave Halter 7b15c70551 Fix a lot of old docs code that doesn't exist anymore 2018-04-15 11:52:45 +02:00
Dave Halter 698d50b65b Remove the old parser documentation (that's now part of parso) 2018-04-15 11:42:34 +02:00
Dave Halter 940a8c7c9c Don't call it the plugin API anymore, that's confusing 2018-04-15 11:35:58 +02:00
Dave Halter 9465eb7881 Reorder some functions 2018-04-15 11:30:35 +02:00
Dave Halter bb979a040d Adda lot of environment documentation to sphinx 2018-04-15 11:25:46 +02:00
Dave Halter 336087fcf8 find_python_environments -> find_system_environments 2018-04-14 15:46:16 +02:00
Dave Halter 45fb770033 A small refactoring 2018-04-14 15:38:32 +02:00
Dave Halter 9f07e7e352 Remove from_executable, were not really using it, yet. 2018-04-14 15:13:02 +02:00
Dave Halter 43ab9563e2 For the second time in a row it's called creationflags not creation_flags 2018-04-14 11:06:24 +02:00
Dave Halter db21942c61 Refactor something small 2018-04-14 01:48:52 +02:00
Dave Halter 737154d657 Remove an unnecessary else 2018-04-14 01:47:17 +02:00
Dave Halter 81771264e0 CREATE_NO_WINDOW was introduced in Python 3.7 and didn't exist before 2018-04-13 22:05:08 +02:00
Dave Halter fac773a60d The SameEnvironment should not load by default if it's a portable
find_python_environments should only find Python versions if they are actually installed on the system. If people copy virtualenvs around etc. it will find nothing instead.
2018-04-13 21:53:06 +02:00
Dave Halter 8af4fc5728 Do binary comparisons to get virtualenvs working and not just venvs 2018-04-13 21:45:07 +02:00
Dave Halter ed80ed9437 Use the correct parameter name for creation flags 2018-04-13 19:04:53 +02:00
Dave Halter 83d635cbac Add a way to generalize Popen 2018-04-13 10:17:30 +02:00
Dave Halter 81623c6b5d Check the windows environments in a better way 2018-04-12 14:26:17 +02:00
Dave Halter 27419be56d Fix some issues with the latest changes 2018-04-12 14:24:18 +02:00
Dave Halter b8e879bc53 DefaultEnvironment -> SameEnvironment 2018-04-12 09:00:19 +02:00
Dave Halter f4317dadc4 Better docs for Environment 2018-04-12 08:59:18 +02:00
Dave Halter bf0169480d Some docstrings 2018-04-12 08:58:06 +02:00
Dave Halter 5bb3b8c122 Make the Environment clearly non-public 2018-04-12 08:56:07 +02:00
Dave Halter 9ac7182fea Make some names public 2018-04-12 08:52:24 +02:00
Dave Halter 93a28c4230 Make sure Windows environments are safe 2018-04-12 08:50:31 +02:00
Dave Halter 323a85db7c Fix the module_name issue again 2018-04-10 21:27:47 +02:00
Dave Halter 1c91cfa9d6 Write a test for #1079 to avoid a regression in the future. 2018-04-10 19:23:20 +02:00
Dave Halter 9b17be9ecf Cleanup some of the module cache stuff 2018-04-10 19:16:18 +02:00
Dave Halter 81aa70b168 Merge branch 'master' of github.com:davidhalter/jedi 2018-04-10 09:19:55 +02:00
Dave Halter 764b67d232 Multiple inheritance completion in Python 2 did not work
Fixes #1071.
2018-04-10 08:58:30 +02:00
Dave Halter 777d9defc5 Give the run.py script an environment parameter 2018-04-10 08:42:58 +02:00
Dave Halter b74ba7cd01 Fix an import 2018-04-09 01:47:31 +02:00
Dave Halter 519f54321e Merge the environment changes for Windows 2018-04-09 01:43:57 +02:00
Dave Halter f4c14864a5 Better tests for venvs 2018-04-09 01:28:43 +02:00
Dave Halter 81d8c49119 Write a test for venvs 2018-04-08 23:04:57 +02:00
Dave Halter 0c19219143 Obviously Python 3 syntax cannot be used in Python 2 2018-04-08 21:38:03 +02:00
Dave Halter aa9f7fd304 Update the changelog about f-strings 2018-04-08 01:38:09 +02:00
Dave Halter 7fca4c332d Use the latest parso version from master. 2018-04-07 16:06:29 +02:00
Dave Halter 806ae13b71 Better goto definition for fstrings 2018-04-07 12:40:52 +02:00
Dave Halter ec1c6e1e4d Fix an issue around the new grammar 2018-04-05 09:52:08 +02:00
Dave Halter 567c8b8097 Fix some fstring issues for now 2018-04-05 01:11:04 +02:00
Dave Halter af956d70a3 Make a few modifications to always use the latest environment available. 2018-04-04 09:53:23 +02:00
Dave Halter 6b75519145 Better tests for fstrings 2018-03-31 18:38:09 +02:00
Dave Halter 43df60ff7d With the changes in parso, f-strings are now completable
Parso now uses one syntax tree for f-strings and the classic syntax tree.
2018-03-31 17:51:27 +02:00
Dave Halter 27655db8a9 With the changes in parso, f-strings are now completable 2018-03-31 17:07:47 +02:00
Dave Halter 538996d8d3 Fix lambda dynamic param searches, fixes #1070 2018-03-25 23:54:43 +02:00
Dave Halter f5ba6de38c Cleanup the namespace lookups so that it also works for Python 3.7 2018-03-25 23:25:23 +02:00
Dave Halter a6b47141cc Add a note about the fixed Windows tests in the changelog 2018-03-24 23:27:14 +01:00
Dave Halter 49235f8910 Add micbou to AUTHORS 2018-03-24 23:25:49 +01:00
Dave Halter 73d0506fb0 Add a badge for AppVeyor. Running tests for Windows 2018-03-24 23:16:08 +01:00
Dave Halter 04708819fb Remove SourceLair from products, because it's a paid product 2018-03-23 01:47:05 +01:00
Dave Halter 53e011909d Add a note to the readme. 2018-03-23 01:32:46 +01:00
Dave Halter b5bc25fc0b Fix another windows issue 2018-03-23 01:21:07 +01:00
Dave Halter 106573f20d Merge branch 'master' of github.com:davidhalter/jedi 2018-03-23 00:57:40 +01:00
Dave Halter c8bb41662e Merge the windows fixes 2018-03-23 00:55:23 +01:00
Dave Halter 4e5cbe8832 Some code cleanup 2018-03-20 01:40:16 +01:00
Dave Halter e6a3a8882c Fix another error that surfaced in pandas 2018-03-20 01:04:00 +01:00
Dave Halter a61742728b Fix an issue with docstrings that contain errors 2018-03-20 00:56:53 +01:00
Dave Halter 305fd66e1c Upgrade the wx widgets paths 2018-03-19 00:05:04 +01:00
Dave Halter 5c06d9871a Somehow forgot about subscriptlist. Just ignore those for now.
Fixes #1010.
2018-03-18 17:24:45 +01:00
Dave Halter 6042706922 Fix the first issue in #1010
Somehow it was still possible with lists to recurse.
2018-03-18 17:09:44 +01: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 11b7e95ecc os.path.join completion speed test is sometimes slow, so give it a bit more of time 2018-03-17 21:41:26 +01:00
Dave Halter 60da6034c0 Fix some code_lines issues 2018-03-17 19:41:26 +01:00
Dave Halter 094affaf84 Remove stdout/stderr from subprocesses (redirected to /dev/null)
This means that the subprocess should now not crash anymore because of people
writing to stdout in c modules and stderr should be empty.

Fixes #793.
2018-03-17 14:14:00 +01:00
Dave Halter 5f0b34a520 Add the module_path again 2018-03-16 10:30:11 +01:00
Dave Halter cc9c9fc781 Clean up the namedtuple test for #1060 2018-03-16 10:28:51 +01:00
Dave Halter 90a226f898 All modules now have a code_lines attribute, see #1062 2018-03-16 10:20:26 +01:00
Dave Halter 24e1f7e6f0 The release date for 0.12.0 should not be set, yet. See #1061. 2018-03-15 15:16:27 +01:00
Dave Halter 1eeb7cb6aa And now remove a pep0484 function that is no longer needed 2018-03-14 21:51:06 +01:00
Dave Halter 053618edd0 Some more code to a function 2018-03-14 21:49:17 +01:00
Dave Halter ce0aa224f1 More rewriting of the pep0484 logic 2018-03-14 21:34:01 +01:00
Dave Halter ae6d01abf5 Start moving some of the pep0484 comment code around 2018-03-14 21:27:29 +01:00
Dave Halter e6469f46c7 Cleanup some instance stuff 2018-03-14 21:04:55 +01:00
Dave Halter e5546a8ae6 Better docs for funciton annotations 2018-03-14 19:19:38 +01:00
Dave Halter f5cf4c1954 Fix an error in param comments 2018-03-14 09:53:25 +01:00
Dave Halter 13ba74515d Catch parser errors instead of error recovery when splitting param comments 2018-03-14 09:49:59 +01:00
Dave Halter afda309cb9 Merge branch 'function_comment' of https://github.com/wilfred/jedi into mypy-comments 2018-03-14 00:55:06 +01:00
Dave Halter 144a1def6c Fix a few version issues in tests 2018-03-13 22:59:07 +01:00
Dave Halter 5d36114be4 Use inspect.Parameter.kind for better differentiation between param types
Refs #292
2018-03-13 22:47:08 +01:00
Dave Halter f9ec989835 Fix REPL completion param name completion
There were two issues:
1. The filter for parameters was wrong
2. In general the equal sign would not be added in some circumstances
2018-03-13 21:36:04 +01:00
Dave Halter 0dda740c5d Add keyword argument test for #292 2018-03-13 19:09:33 +01:00
Dave Halter d0b8f9e5a2 Fix an interpreter test in Python 2 2018-03-12 20:49:27 +01:00
Dave Halter 378a5846db Clean up zombie subprocesses, fixes #1048 2018-03-12 20:06:02 +01:00
Dave Halter 5c1d979522 Fix an issue around __dir__ in the interpreter
Fixes #1027.
2018-03-12 01:46:12 +01:00
Dave Halter e0c682977c Fix doctest for replstartup 2018-03-11 22:19:35 +01:00
Dave Halter 54a8db503d Fix shell completion issues and documentation
This issue was raised in #990. The completer was never used in Python3.4+,
because it was overwritten by Python's completer. Oddly enough it has always
worked in Python2.7/3.3.

The documentation was also slightly modified. os.path.join was always a
complex beast.
2018-03-09 22:39:00 +01:00
Dave Halter c4be83759c Merge branch 'master' of github.com:davidhalter/jedi 2018-03-08 10:09:08 +01:00
Dave Halter 51e0d5d12f Fix issues with default parameters in functions and classes
Default parameters were resolved at the wrong starting position. Fixes #1044
2018-03-08 09:59:09 +01:00
Dave Halter 14ac6b11b9 Correct mistakes of lambda names 2018-03-08 09:52:35 +01:00
Dave Halter 23e7c5bd2a eval_element -> eval_node 2018-03-07 20:11:19 +01:00
Dave Halter a85f2d1049 Use the correct class for params when used in names. Fixes #1006 2018-03-07 09:59:31 +01:00
Dave Halter 72be3e5247 Get rid of a regex warning, where escaping was not properly used in a normal string 2018-03-05 10:56:27 +01:00
Dave Halter 9e9c62a5ab Get rid of the imp library import in Python3 to avoid warnings, fixes #1001 2018-03-05 10:55:21 +01:00
Dave Halter d063dadcf7 Don't need the tests from #122 2018-03-05 01:01:43 +01:00
Dave Halter 0144de1290 Refactor the namespace package tests 2018-03-05 00:55:35 +01:00
Dave Halter 074d0d6d07 Include __init__.py files in search for the project directory, fixes #773 2018-03-04 21:36:59 +01:00
Dave Halter 2885938e74 Add pytest cache to gitignore 2018-03-04 18:29:00 +01:00