1
0
forked from VimPlug/jedi
Commit Graph

31 Commits

Author SHA1 Message Date
Laurens Van Houtven ad932815b9 PEP8 whitespace fixes 2013-07-10 18:55:48 +02:00
Laurens Van Houtven fd87e8af2a Refactor the way module_path, module_file and is_package are computed to be a bit more legible 2013-06-20 22:36:16 +02:00
Laurens Van Houtven 1b0822743c Clean up find_module_py33 loader finding 2013-06-20 22:05:08 +02:00
Laurens Van Houtven f171617766 Raise a nicer exception instance instead of raising an exception class 2013-06-20 21:40:37 +02:00
Laurens Van Houtven 44b1390d80 Clean up find_module_pre_py33 2013-06-20 21:35:56 +02:00
Laurens Van Houtven 68f9cdd884 Pick find_module implementation statically 2013-06-20 21:08:33 +02:00
Laurens Van Houtven e201f89a77 Remove double reduce import 2013-06-20 21:08:33 +02:00
David Halter 6204cb740b merge with dev branch 2013-05-03 01:28:50 +04:30
Danilo Bargen b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
Danilo Bargen 86d775324b Fix most flake8 issues (fixes #205) 2013-04-27 15:40:36 +02:00
David Halter cf49bdc9ab merge of tokenizer/dev branch 2013-04-20 19:23:15 +04:30
David Halter bafb17001b fix encoding problems with terminal 2013-04-13 15:57:28 +04:30
Aldo Stracquadanio 124595de6e Making it nicer
Fixed typo in docstring and added some comments in find_module_py33

Removed a test that is not compatible with python 3.3

Better variable names in find_module implementation(s)

Removed variable assignation in favor of direct return statement
2013-03-27 10:49:43 +00:00
Aldo Stracquadanio 0b67a08e48 Using PathFinder rather than find_loader to correctly handle paths
Using PathFinder rather than find_loader to correctly handle from ... import ...

Moved away from find_loader in favour of PathFinder also when using sys.path
2013-03-27 10:49:21 +00:00
Aldo Stracquadanio 07ec134bc9 Adding python 3.3 to test environment, mani fixes
Added python 3.3 to test-suite

Removed unused import

Removed unused import

Migrated to EAFP for attribute checking

Bumped version of ModulePickling for migration to hashlib

Added py33 environment to tox

Fixed issue with package importing on python 3.3
2013-03-27 10:48:56 +00:00
Aldo Stracquadanio 3ef564847d Simplified code for readability
Splitted import compatibility function definition for better readability

Simplified code for python 3.3 load_module implementation
2013-03-27 10:48:26 +00:00
Aldo Stracquadanio de849fbe8a Fixed follow_definition test 2013-03-27 10:48:12 +00:00
Aldo Stracquadanio d481a7aae4 Created find_module helper to handle compatibility with python 3.3
Moved package checking logic in follow_str function

Created find_module compatibility helper method

Conditional implementation of load_module for python 3.3
2013-03-27 10:47:29 +00:00
Takafumi Arakaki 93bd00bba4 Document rethrow_uncaught/reraise 2013-03-13 23:50:40 +01:00
Takafumi Arakaki e42ff9e762 Add common.rethrow_uncaught 2013-03-13 23:21:15 +01:00
Danilo Bargen ea9a667425 Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94) 2013-02-14 21:10:06 +01:00
David Halter 27b162346a _compatibility docstring 2013-02-06 00:14:29 +01:00
David Halter 1017db903c basic pickle implementation #102 2013-01-11 22:00:03 +01:00
David Halter 5f76ffdfe8 py3k/py2.5 compatibility, and a bugfix 2012-12-16 04:03:46 +01:00
Takafumi Arakaki 8b31117faf Add a test for multi-byte string source 2012-11-10 19:55:56 +01:00
David Halter ed928d5d58 tokenize not needed anymore in _compatibility 2012-11-02 18:12:22 +01:00
David Halter 299f52c04b renamed BytesIO to StringIO, because it no longer made sense 2012-11-02 18:10:23 +01:00
David Halter ee524eb2a9 again: try to use unicode, #52 2012-11-02 18:05:04 +01:00
David Halter 0704873fd7 switched completely to unicode (in python2), fixes #52 2012-11-02 16:08:38 +01:00
David Halter afcf1bd8a1 added itertools.chain.from_iterable to python 2.5 2012-09-22 18:52:45 +02:00
Danilo Bargen 21826e7a34 Moved jedi files to separate package folder 2012-09-17 22:38:38 +02:00