Commit Graph

2793 Commits

Author SHA1 Message Date
David Halter
1121588678 use ImportPath.is_relative_import instead of complicated lookups all the time 2013-08-11 18:14:58 +04:30
David Halter
81e625862e os.path is now accessible, but nested imports in general are not. fixes #213, #230 2013-08-11 18:10:21 +04:30
David Halter
710dac797b fix a nested import problem with not found imports 2013-08-11 17:59:36 +04:30
David Halter
0fef34c26e finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213 2013-08-11 17:30:50 +04:30
David Halter
9d1e527b7c merge issue-213-from-import-definition of @tkf into dev 2013-08-11 01:20:45 +04:30
David Halter
86394a7ed5 fix problems with imports as user_statement and brackets, fixes #285 2013-08-11 01:14:13 +04:30
David Halter
ec347dd975 user_statement problems with imports and brackets, test for #285 2013-08-11 01:12:08 +04:30
David Halter
66fa0b0575 move current to _current in parsing 2013-08-11 01:03:20 +04:30
David Halter
649135ea7b goto_assignments more readable 2013-08-11 00:06:04 +04:30
David Halter
832f05b4a1 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-10 22:58:08 +04:30
David Halter
959519560d init decorators should not execute __init__ in case of self variable lookups, fixes #247 2013-08-10 22:55:58 +04:30
David Halter
6421c95df1 tests for init decorator problem, see #247 2013-08-10 22:53:26 +04:30
David Halter
97edfb13f7 some method decorator tests were wrong (incomplete) 2013-08-10 22:26:24 +04:30
David Halter
ff4f396957 more documentation on Instance 2013-08-10 22:18:21 +04:30
David Halter
ee1df18694 instance readability improvements 2013-08-10 22:11:31 +04:30
David Halter
c093e50537 Merge pull request #289 from asmeurer/pythonrc
Some fixes to the .pythonrc.py code
2013-08-10 10:37:32 -07:00
Aaron Meurer
5e81fc22e1 Skip doctests that are just completion examples 2013-08-10 11:20:31 -06:00
David Halter
ce8a8cfa3a Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-08-10 21:42:03 +04:30
David Halter
085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
David Halter
72313e2774 Merge pull request #290 from asmeurer/sith_file
Make sith.py random work with files
2013-08-10 10:08:00 -07:00
Aaron Meurer
b6b510693b Make sith.py random work with files 2013-08-10 10:39:19 -06:00
Aaron Meurer
754835bec5 Add some print statements to the .pythonrc.py example 2013-08-10 10:34:30 -06:00
Aaron Meurer
1ac6d779a1 Cleanup to the Jedi .pythonrc.py example 2013-08-10 10:28:09 -06:00
Aaron Meurer
8b3a62a76f Indent code blocks in the docstring 2013-08-10 00:50:26 -06:00
Aaron Meurer
7c53988bae Note that you have to add PYTHONSTARTUP to your profile 2013-08-10 00:44:30 -06:00
Aaron Meurer
6f9da26593 Show how to fallback to regular readline completion 2013-08-10 00:43:37 -06:00
Aaron Meurer
c60fd21805 Don't make it sound like Jedi has to be installed with pip 2013-08-10 00:42:34 -06:00
Aaron Meurer
396e19c2fd Don't format the code to go in .pythonrc.py in a doctest
This is way too confusing. You don't put doctests in files, you put code in
files.
2013-08-10 00:42:00 -06:00
David Halter
c35da04820 illegal decorators tests 2013-08-09 18:12:51 +04:30
David Halter
dce6f4a232 fix unicode problems in sith.py 2013-08-09 17:15:57 +04:30
David Halter
f2ffa037da Merge pull request #287 from davidhalter/sith_check_isfile
Sith check isfile
2013-08-09 05:43:24 -07:00
David Halter
9c9a90707e Merge pull request #284 from davidhalter/sith_recording_bug
Sith recording bug
2013-08-09 05:41:27 -07:00
Danilo Bargen
7806119911 Verify that path in "random" operation is a directory 2013-08-09 13:32:43 +02:00
Danilo Bargen
1762cb2ef8 Added record.json to .gitignore 2013-08-09 13:28:01 +02:00
Danilo Bargen
2d31f33038 Move call_args definition to recording 2013-08-09 13:26:11 +02:00
Danilo Bargen
a8bdee0051 Fixed bug in sith.py related to recording / serialization 2013-08-09 11:34:19 +02:00
Danilo Bargen
b791817c66 Sith PEP8 2013-08-09 11:29:24 +02:00
David Halter
2dd9ad7864 fix goto_definition on lambda problem, fixes #274 2013-08-09 13:51:45 +04:30
David Halter
22b11e0706 ignore decorators if cannot be found (also get rid of DecoratorNotFound exception), fixes #272 2013-08-09 13:01:21 +04:30
David Halter
a5fa0708ee tests for #272, not existing method decorators in combination with super on __init__ 2013-08-09 12:36:53 +04:30
David Halter
59f0b523bd move descriptors out of classes into their own file 2013-08-09 11:38:30 +04:30
David Halter
7548ec7280 fix problems with class method decorators 2013-08-09 11:32:44 +04:30
David Halter
c222cc5a32 method decorator as class tests 2013-08-09 10:58:24 +04:30
David Halter
5cf39565ee fix decorator problems in class methods (at least partially, there are problems with @staticmethod and @classmethod) 2013-08-09 02:11:12 +04:30
David Halter
a6b1a247c2 method decorator tests 2013-08-08 15:14:10 +04:30
David Halter
1fb1244b68 remove unlogical operation catching 2013-08-08 12:36:26 +04:30
David Halter
7f53bd71fe fix encoding problems in python2 for travis 2013-08-08 00:26:47 +04:30
David Halter
7ab00242a8 finally change name of test.base module to helpers.py, fixes #181 2013-08-07 18:35:47 +04:30
David Halter
45432c6cb0 documentation and clean up, #181 2013-08-07 18:27:25 +04:30
David Halter
04e454269c add test_integration_keyword.py to test keywords (moved out of test_regression), #181 2013-08-07 18:12:37 +04:30