1
0
forked from VimPlug/jedi
Commit Graph

74 Commits

Author SHA1 Message Date
Mathias Fussenegger 67d9fbca81 run buildout detection only once per buildout script
in order to avoid running into the max recursion limit.
2015-04-09 08:51:25 +02:00
Dave Halter a6c5d9f0a6 Merge branch 'add-egg-links-to-syspath-on-parser' of https://github.com/blueyed/jedi into dev 2015-03-06 01:06:17 +01:00
Dave Halter d318d3c855 Fix a potential issue in sys path searching. However not tested. This is something that raised an error with sith that was not reproducible. 2015-02-26 13:56:28 +01:00
Daniel Hahler 8621aae73c Add any .egg-link paths from VIRTUAL_ENV to sys.path
Adding test_get_sys_path required factoring out
`_get_venv_sitepackages`, because `sys.version_info` cannot be mocked
apparently.
2015-01-25 21:35:09 +01:00
Dave Halter 897c4cded6 Fix issues with sys.path modifications that directly assign the sys.path or use the slicing notation. 2014-12-10 19:18:53 +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 fd16dfe2c7 Fix the first part of sys path checks. 2014-11-21 01:46:18 +01:00
Dave Halter 3add6e4289 Fix various bugs. 2014-09-26 12:22:56 +02:00
Dave Halter f4c99259b5 Fix an issue with sys.path. Also moved the names closure for isinstance checks away (used for sys.path stuff) and use a get_code check instead, which is more flexible. 2014-09-25 12:35:53 +02:00
Dave Halter b26f51ded2 Fix obvious UnboundLocalError. 2014-09-19 18:08:30 +02:00
Dave Halter 5a3ee02399 Use ExprStmt pretty much everywhere where it should be used.
ExprStmt is now really a normal statement. All the other statements are from now on considered legacy code. As a side effect this increases the parser pickling version.
2014-09-06 11:13:58 +02:00
Dave Halter 42d6b57599 precedence._is_string -> precedence.is_string 2014-09-04 14:13:26 +02:00
Dave Halter 7b2e11d71b Rewrote sys_path._paths_from_assignment. 2014-09-04 14:12:10 +02:00
Dave Halter 8006d6f190 Change implementation of StatementElement.
Instead of having both next and execution as attributes, we now only have next, because it's an execution if there's an array.
2014-08-18 22:25:55 +02:00
Dave Halter 08f7a439c0 merged dev and linter 2014-07-17 23:17:49 +02:00
Dave Halter 3264a1815e Merge pull request #407 from hattya/dev
fix virtualenv support
2014-07-02 21:16:51 +04:30
Dave Halter 718df569ea memoize sys_path modifications 2014-06-25 15:04:48 +02:00
Mathias Fussenegger bf43fcf1c6 detect buildout and add buildout eggs to sys.path 2014-06-18 18:30:11 +02:00
Akinori Hattori 9f3542903d fix virtualenv support 2014-05-08 18:09:05 +09:00
Dave Halter 240b0c9581 NamePart doesn't have an __eq__ method anymore 2014-04-18 14:36:10 +02:00
Dave Halter fdabca20e9 fix get_code method for Operator (still ugly, though) 2014-02-26 22:23:21 +01:00
Dave Halter 682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter 9523e70a71 sys_path stuff has its own module, now. 2014-01-05 13:07:37 +01:00