Commit Graph
100 Commits
Author SHA1 Message Date
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
Dave Halter 95d36473fc Improve some documentation/a failing doctest 2018-03-04 18:29:00 +01:00
Dave Halter d4af314b65 Fix the recursion error with globals
This generalizes the fix to actually fix a lot of potential recursion issues
with if_stmt.
2018-03-04 18:29:00 +01:00
Dave Halter a3a39c0757 Always pop nodes in recursion detector 2018-03-04 18:29:00 +01:00
Dave Halter c9a64bd1d3 Globals should be looked up with the same priority as other defined nodes. 2018-03-04 18:29:00 +01:00
Dave Halter 89c616a475 Add a few bits to the changelog 2018-03-02 08:59:28 +01:00
Dave Halter 4dc10e0d4b Autocompletion in comments should at least not fail
Fixes #968
2018-03-01 08:57:32 +01:00
Dave Halter cbcc95c671 Fix the last async issue 2018-02-28 23:47:59 +01:00
Dave Halter 2abcd0b6a6 Fix a few numpydocs tests 2018-02-28 23:44:50 +01:00
Dave Halter 3820111d1e Fix some more await things 2018-02-28 23:30:20 +01:00
Dave Halter dfa383c744 Fix a yield from test 2018-02-28 23:01:07 +01:00
Dave Halter a41a4562d2 AbstractIterableMixin -> IterableMixin 2018-02-28 22:51:27 +01:00
Dave Halter 0d0213ee4c Support generator returns when used with yield from. 2018-02-28 22:35:58 +01:00
Dave Halter 80ee3b8fcf Show in a test that something doesn't work properly around async analysis 2018-02-27 18:19:46 +01:00
Dave Halter 6e24c120cf A few documentation improvements 2018-02-27 18:06:47 +01:00
Dave Halter eeacdc33a1 Try to make the whole Builtin overwriting more abstract 2018-02-26 23:09:18 +01:00
Dave Halter 8e26017a05 Fix a small remaining issue in Python 2 2018-02-21 01:38:30 +01:00
Dave Halter 4d980d8bd0 Reorder tests to make the async stuff pass on all python versions 2018-02-21 01:28:37 +01:00
Dave Halter 2d4636da5b Fix for all python versions 2018-02-21 01:23:50 +01:00
Dave Halter c1d06f4638 Getting more edget cases work in 3.6 for async 2018-02-21 01:11:59 +01:00
Dave Halter de5d7961e8 Fix an issue with async for 2018-02-21 00:41:59 +01:00
Dave Halter bc0210af70 Use the await method properly and just use it instead of some crazy things 2018-02-21 00:27:15 +01:00
Dave Halter bf01b9d47c Refactor the way builtins can be overwritten by jedi's own contexts 2018-02-21 00:09:41 +01:00
Dave Halter 5c8300e62a Move all the asynchronous contexts to a separate module 2018-02-19 09:43:50 +01:00
Dave Halter f1c2aef963 Fix the merge issues. Now async stuff should at least partially work 2018-02-19 01:35:37 +01:00
Dave Halter 8f4b68ae39 Merge the async branch 2018-02-18 13:45:08 +01:00
Dave Halter 98761f6994 Get rid of an unused import 2018-02-16 21:16:43 +01:00
Dave Halter 88f521ad82 Add the name always to the script module 2018-02-16 21:15:53 +01:00
Dave Halter 24adebb69d Add the travere_parents function to a utility directory 2018-02-16 21:07:36 +01:00
Dave Halter 81a30d61d6 Fix Python 2 old-school relative imports 2018-02-16 20:53:31 +01:00
Dave Halter 5453566352 Use the project path as a prefix, because many times it's used as a higher priority than other stuff 2018-02-16 20:37:03 +01:00
Dave Halter 482b5e63db Move the buildout_project stuff to a separate examples folder 2018-02-16 15:01:40 +01:00
Dave Halter 424b6ae907 Rename of buildout stuff 2018-02-16 14:56:49 +01:00
Dave Halter ab212cb8aa Small rename 2018-02-16 14:53:45 +01:00
Dave Halter c23005f988 Use generators instead of complicated return of lists 2018-02-16 14:50:07 +01:00
Dave Halter 039e7ba07b Some more sys path corrections.
The sys path should be defined more or less in the beginning and not be different for all modules
2018-02-16 14:39:01 +01:00
Dave Halter 6a11b7d89e Generalize the use of smart import paths
Now a lot more parts of the current scripts path are used as a sys path.
2018-02-16 12:40:31 +01:00
Dave Halter 863fbb3702 Better handling of smart sys path 2018-02-16 11:57:58 +01:00
Dave Halter 30cfdee325 Some simplifications 2018-02-16 10:21:43 +01:00
Dave Halter fa9364307f Add comments to implicit namespaces and fix some minor things.
See #1005.
2018-02-15 20:25:07 +01:00
Dave Halter 9177c120f4 Merge the implicit namespace improvement (pkgutils.itermodules modification)
There are still a few issues that need to be addressed.
2018-02-15 20:08:58 +01:00
Dave Halter 76df356628 Relative imports should be working again even when used in more special occasions. Fixes #973
There are more fixes needed. Some things are just very unclean and might lead to further bugs.
2018-02-15 14:10:01 +01:00