Dave Halter
|
93500c3f72
|
Merge pull request #578 from squidarth/554_support_enumerate
Added in support for autocompleting `enumerate`.
|
2015-05-04 18:46:47 +02:00 |
|
Sid Shanker
|
20061fcf2e
|
Added in support for autocompleting enumerate.
Resolves #554
|
2015-05-04 00:19:14 -07:00 |
|
Dave Halter
|
126f490f1e
|
Modules have now the name __main__ if they contain dots.
|
2015-04-28 17:29:42 +02:00 |
|
Dave Halter
|
cbd3a8a59a
|
Restructured loading of compiled __init__ files.
|
2015-04-28 02:30:32 +02:00 |
|
Dave Halter
|
06d134a7c1
|
Finished changing the import logic. The sys.path calculations within Jedi are clearer now.
|
2015-04-25 22:45:08 +02:00 |
|
Dave Halter
|
df9452f210
|
Trying to change the import logic completely. We now have a sys.modules like cache.
|
2015-04-20 14:47:33 +02:00 |
|
Dave Halter
|
74779f1a5d
|
Test and preparations for better call signatures with builtins, see #515.
|
2015-04-10 03:05:38 +02:00 |
|
Dave Halter
|
79caa2186e
|
list(open().read()) should work now, fixes #412.
|
2015-04-09 00:46:31 +02:00 |
|
Dave Halter
|
8b1c033fc4
|
Remove old commented code.
|
2015-03-06 11:22:38 +01:00 |
|
Dave Halter
|
eb146adcc1
|
Modules that are not importable shouldn't cause Jedi to stop working (just issue a warning). Fixes #468, #71.
|
2015-03-06 11:13:04 +01:00 |
|
Dave Halter
|
0ceadf69a3
|
Fake objects don't need an ExprStmt for the docstring anymore.
|
2015-03-05 14:24:19 +01:00 |
|
Dave Halter
|
1520ebf557
|
Fixed an issue with ArrayInstances that were using name lookups, which it doesn't have.
|
2015-03-03 02:39:02 +01:00 |
|
Dave Halter
|
a998c36fa3
|
Fix an attribute error in static analysis code.
|
2015-02-26 14:40:33 +01:00 |
|
Dave Halter
|
6e5ba3de87
|
Fix remaining issue siwh the Param refactoring.
|
2015-02-11 01:40:18 +01:00 |
|
Dave Halter
|
8125d5f562
|
Remove asserts and calculate them dynamically.
|
2015-02-05 20:16:55 +01:00 |
|
Dave Halter
|
cf223a71f5
|
Add a position modifier for the fast parser. Not yet in use though.
|
2015-01-15 13:57:56 +01:00 |
|
Dave Halter
|
26ecb16e5f
|
CompiledObject.type resembles now the Node.type values.
|
2015-01-09 01:33:59 +01:00 |
|
Dave Halter
|
144c20579b
|
Get rid of get_defined_names in compiled modules.
|
2015-01-08 17:53:20 +01:00 |
|
Dave Halter
|
a20fd12de9
|
Remove all scope_names_generator usages.
|
2015-01-08 13:24:01 +01:00 |
|
Dave Halter
|
ec76d57679
|
Start using names_dicts for completion as well.
|
2015-01-07 01:49:38 +01:00 |
|
Dave Halter
|
9178d314b0
|
Add search_global to names_dicts calls.
|
2015-01-06 15:30:59 +01:00 |
|
Dave Halter
|
9de4a5479c
|
Start using names_dicts instead of scope_names_generator.
|
2015-01-01 23:27:03 +01:00 |
|
Dave Halter
|
ed3cf5577e
|
Compiled objects should also have a names_dict.
|
2014-12-26 12:49:40 +01:00 |
|
Dave Halter
|
e53e211325
|
Python 2 compatibility in fake module.
|
2014-12-16 02:07:20 +01:00 |
|
Dave Halter
|
d11ea73ef4
|
Re-enable AttributeError/NameError detection for more complicated occurances than just statements.
|
2014-12-11 19:18:00 +01:00 |
|
Dave Halter
|
23417f0288
|
Fix docstrings in fake/skeleton objects.
|
2014-12-11 00:05:49 +01:00 |
|
Dave Halter
|
24903739f2
|
A first implementation of call signatures.
|
2014-12-05 16:05:54 +01:00 |
|
Dave Halter
|
478acf8ccf
|
partial is working partially now with the new parser, because invalid statements are not possible anymore (two times **kwargs)
|
2014-12-04 14:29:37 +01:00 |
|
Dave Halter
|
aa9057be38
|
Small fix for builtins.
|
2014-12-04 02:01:30 +01:00 |
|
Dave Halter
|
9f45f18ad1
|
Added a grammar param to the parser.
|
2014-11-24 01:10:39 +01:00 |
|
Dave Halter
|
c152a1c58b
|
Actually replace tree with representation (in all the imports).
|
2014-11-23 19:46:52 +01:00 |
|
Dave Halter
|
cc465364d3
|
Fixes towards better MergedArray and partial functions.
|
2014-11-20 13:33:05 +01:00 |
|
Dave Halter
|
ce5d428d22
|
At least functions generate docstrings again.
|
2014-11-20 01:37:18 +01:00 |
|
Dave Halter
|
fe7c750c2c
|
Param is now the parent of its names and not just a helper class.
|
2014-10-28 02:05:44 +01:00 |
|
Dave Halter
|
585e92ac9f
|
Temporarily disable evaluate/compiled stuff, because it interferes with the current changes of the parser. This will be undone.
|
2014-10-08 17:45:49 +02:00 |
|
ColinDuquesnoy
|
d7836c1034
|
Add a comment and link to issue #483
|
2014-09-29 11:57:38 +02:00 |
|
ColinDuquesnoy
|
42596dba15
|
Merge remote-tracking branch 'upstream/dev' into fix_runtime_error
Conflicts:
jedi/evaluate/imports.py
|
2014-09-29 11:53:35 +02:00 |
|
ColinDuquesnoy
|
d1ae447362
|
Simplify code
|
2014-09-29 09:50:49 +02:00 |
|
Dave Halter
|
c4e45916c6
|
Modules also use a NamePart as a name, now.
|
2014-09-22 12:52:48 +02:00 |
|
ColinDuquesnoy
|
fb86388890
|
Fix RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class
|
2014-09-13 12:18:34 +02:00 |
|
Dave Halter
|
bb5ffe9343
|
CompiledObject.name returns a Name now, not a string. This is more consistent with the Jedi design and doesn't lead to bugs while ducktyping.
|
2014-09-03 19:43:21 +02:00 |
|
Dave Halter
|
18204c4c19
|
By trying to get rid of search_name in usages, we had to fix an issue with imports:
If used like 'follow(is_goto)', it could return a ModuleWrapper instead of a Name, which is what we actually want.
|
2014-09-03 19:30:00 +02:00 |
|
Dave Halter
|
9abc8a19e7
|
By adding a py__class__ method to CompiledObject and Class, we Jedi is able to understand isinstance checks, now.
This also includes a CheckAttribute class in evaluatue.compiled, because it's way easier to generalize the AttributeErrors there.
|
2014-08-20 14:46:18 +02:00 |
|
Dave Halter
|
c9542cbc04
|
Start implementing an is_class function that will determine if an object is a class or not in the future.
|
2014-08-20 11:43:25 +02:00 |
|
Dave Halter
|
09ca47fa93
|
Introduce a dedicated isinstance function implementation.
|
2014-08-19 23:57:59 +02:00 |
|
Dave Halter
|
425290aa8f
|
Fix an issue with partial keyword inputs.
|
2014-08-14 12:25:00 +02:00 |
|
Dave Halter
|
ec7b3bf433
|
refactor py_base to py__bases__, because that's the general naming schema
|
2014-08-13 14:34:37 +02:00 |
|
Dave Halter
|
cd433adf84
|
Speedup object lookup even further in classes.
|
2014-08-13 14:17:57 +02:00 |
|
Dave Halter
|
8ed89e8245
|
implement !=, ==, is, is not operators to work in if statements (they also work in in non if contexts and return a bool value.), includes tests.
|
2014-08-12 17:59:19 +02:00 |
|
Dave Halter
|
fb1dba269a
|
re-enable the interpretation of the None keyword
|
2014-08-12 14:38:56 +02:00 |
|