Commit Graph

74 Commits

Author SHA1 Message Date
Hugo
7c9f24a18e Drop support for EOL Python 3.3 (#1019) 2018-08-04 00:40:00 +02:00
Dave Halter
88243d2408 Don't catch IndexError where we don't have to 2018-04-20 01:46:32 +02: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
fe0e41e9d6 Fix some more dict.get/dict.values stuff 2018-02-02 18:24:18 +01:00
Hugo
7e449af4bd Revert changes to test/completion and test/static_analysis except for 2.6 comment removal 2018-01-07 10:40:36 +02:00
Hugo
8cf708d0d4 Remove redundant parentheses 2018-01-07 10:40:06 +02:00
Hugo
7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Dave Halter
ef89593896 Disable more tests in Python2.6, because of set literals that don't exist there. 2017-09-03 02:01:43 +02:00
Dave Halter
2fcd2f8f89 Fix some more stuff because of newer parso changes. 2017-07-14 18:21:52 +02:00
Dave Halter
bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter
01e577be8b Move some recursion issues to the recursion module. 2016-07-27 22:23:30 +02:00
Dave Halter
a6dd7bf822 Fix an issue with inherited lists. 2016-07-26 09:24:51 +02:00
Dave Halter
218278af8d Fix an issue with slice indexing. 2016-07-14 18:28:24 +02:00
Dave Halter
1c0aa06c7d PEP 3132 unpacking should not raise an error (it may yield wrong results though at the moment), fixes #707. 2016-07-10 17:51:01 +02:00
Dave Halter
4a19376187 Fix issue https://github.com/DamnWidget/anaconda/issues/449. Using self should not cause side effects in completion. 2016-07-06 18:31:47 +02:00
Dave Halter
c82691a12b Make goto_definitions a lot simpler. 2016-06-11 23:13:04 +02:00
Dave Halter
3910d97b7e Fix: __getitem__ sometimes didnt evaluate all the types. 2015-12-05 12:36:05 +01:00
Dave Halter
d65684a40b Fix py__getitem__ on Array. 2015-12-05 02:48:20 +01:00
Dave Halter
db060c70c9 Start creating py__getitem__. 2015-12-04 12:08:29 +01:00
Dave Halter
9259a432b7 Dicts should be iterated by its keys (__iter__). 2015-11-28 16:08:38 +01:00
Dave Halter
595b803f1f Fix an issue with strings that can be chained in the parser. 2015-11-17 11:38:51 +01:00
Dave Halter
6d3bb5c4b1 Fix generator comprehensions issue when used as an argument. 2015-03-02 03:06:58 +01:00
Dave Halter
610068dde4 Fix merged array values. 2015-02-27 11:23:53 +01:00
Danilo Bargen
2a1c108bbf Fixed whitespace problems in completion tests 2014-07-26 17:39:05 +02:00
Dave Halter
aba4a16ae3 fix indexing issues for multiple index options 2014-06-27 11:23:46 +02:00
Dave Halter
bdcbac160b fix string/array (sequence) multiplications with integer. 2014-06-26 00:49:56 +02:00
Dave Halter
5a6eabb364 array recursion test, took a long time to find that annoying bug. 2014-04-30 11:50:21 +02:00
Dave Halter
5740c45791 again tokenize simplifications 2014-04-28 19:31:41 +02:00
Dave Halter
23b4a89d1d slices should be ignored in __getitem__ settings (for now) 2014-04-28 18:15:25 +02:00
David Halter
284f2f1671 add __iter__method to InstanceElement, because it's needed for arrays 2013-07-24 17:21:49 +02:00
David Halter
c8648d9ca5 test for unnecessary parentheses inside instances 2013-07-24 16:57:46 +02:00
David Halter
bb8e864f8e fix UnboundLocalError and TypeError within Array lookups, not a very good solution, but for now it doesn't puke errors 2013-07-23 02:33:07 +02:00
David Halter
45c8cc739b fixed the dict problem, but dictionary completions are still very bad 2013-07-17 16:14:06 +02:00
David Halter
0dbfc409a7 iteration problem test 2013-07-17 15:56:21 +02:00
Takafumi Arakaki
45bddec83a Add more complex assignment tests 2013-05-23 23:41:41 +02:00
Takafumi Arakaki
ced1a83f5b Add a failing test: "a = b = 1"-style assignment 2013-05-23 23:28:30 +02:00
David Halter
a2da599d6e fix a completion in dict problem 2013-05-03 18:31:05 +04:30
David Halter
e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter
3f95d33f4d added tests for executions/follows of unnecessary brackets 2012-12-24 02:25:26 +01:00
David Halter
ca21f76128 no confusions in executions for dict assignments, fixes #83 2012-12-19 21:23:50 +01:00
David Halter
571a96c02b test for #83 2012-12-19 02:01:57 +01:00
David Halter
936f7f9fd5 private variables are not accessible anymore, but still completeable - fixes and tests for #56 2012-11-22 23:50:26 +01:00
David Halter
6b76fdc0ba fixed tuple assignment problem 2012-10-09 16:42:51 +02:00
David Halter
fc861313ce fixed statement parsing problem of list slicing 2012-10-09 15:01:32 +02:00
David Halter
8795b4fbac some operator support for '*' 2012-10-04 01:31:57 +02:00
David Halter
33e5850105 dynamic arrays in executions and instances should now work fully, some things got simplified, now it works. 2012-08-27 11:36:44 +02:00
David Halter
e28d7f0cdf cleaning / pep8 2012-08-23 14:45:29 +02:00
David Halter
61ca2c74b4 reeneabled more complex builtin array tests 2012-08-14 13:07:21 +02:00
David Halter
ae60bce836 dynamic arrays are now working pretty good 2012-08-09 16:03:28 +02:00