Commit Graph

  • f4b51d91ee Add python3.4/3.3 issue 'can use starred expression only as assignment target'. Dave Halter 2017-08-06 01:38:05 +02:00
  • 97525958b6 Move failing examples to a separate file. Dave Halter 2017-08-06 00:46:05 +02:00
  • d33e45f4cd Rename a test function. Dave Halter 2017-08-06 00:38:14 +02:00
  • 0e3e393f37 Self test on parsos files to check if there's no syntax errors. Dave Halter 2017-08-05 23:39:44 +02:00
  • db3c635fcd English. Dave Halter 2017-08-05 23:13:44 +02:00
  • 065081f227 Fix two more TODOs about bytes in Python 2. Dave Halter 2017-08-05 23:12:13 +02:00
  • 0cf5a36652 Fix a todo about __future__. Dave Halter 2017-08-05 23:07:43 +02:00
  • a2d6336028 General cleanup in syntax error detection. Adding a few comments. Dave Halter 2017-08-05 23:03:39 +02:00
  • c3aab1b148 Finally able to delete a function because all the tests were generalized. Dave Halter 2017-08-05 22:55:12 +02:00
  • f8314f0dea Another small refactoring. Dave Halter 2017-08-05 22:47:16 +02:00
  • c07ad1dfe3 Move more errors to be used by all versions. Dave Halter 2017-08-05 22:45:53 +02:00
  • aae38e2c73 Move more tests. Dave Halter 2017-08-05 22:39:17 +02:00
  • 63e30843dc Add 'yield' inside async function' for Python 3.5. Dave Halter 2017-08-05 22:33:11 +02:00
  • 94570acef7 Move another test to be used by all versions. Dave Halter 2017-08-05 21:38:09 +02:00
  • 1b235e16e1 Fixing a warning and moving some tests around. Dave Halter 2017-08-05 21:31:13 +02:00
  • 172a534baa Move some tests around. Dave Halter 2017-08-05 21:22:21 +02:00
  • 0513b14225 Write a few more tests. Dave Halter 2017-08-05 21:12:25 +02:00
  • 5f73b42067 Fix issues with errof leafs and error nodes in a certain order. Dave Halter 2017-08-05 21:00:25 +02:00
  • 57f7c465ce Add 'too many levels of indentation' issue. Dave Halter 2017-08-05 14:45:47 +02:00
  • 44edbd56e7 Some better message for tokenizing fails. Dave Halter 2017-08-05 14:14:47 +02:00
  • 5fd6469b6f A small improvement to python -m parso.python.tokenize Dave Halter 2017-08-05 01:16:30 +02:00
  • e62a88b190 Use a bit better warnings for tokenizer errors. Dave Halter 2017-08-03 21:48:04 +02:00
  • 8cebfc3e8a Add some QA tests to avoid not realizing that escape decoding in literals has been changed. Dave Halter 2017-08-02 11:10:01 +02:00
  • d6b6354e17 Get escaping issues working in all versions. Dave Halter 2017-08-02 10:39:02 +02:00
  • 3ccbf4326c Added the unicode/bytes literal escaping issues. Dave Halter 2017-08-02 10:17:15 +02:00
  • d6c624bd34 Finally fix Python 2.6. Dave Halter 2017-07-31 21:31:26 +02:00
  • ddd16124ac Fix Python 2.7 tests. Dave Halter 2017-07-31 12:45:39 +02:00
  • 58c32591d0 Some preparations to get Python 2 tests working. Dave Halter 2017-07-31 12:33:47 +02:00
  • 5fbbb225dd Refactor a bit for Python 2. Dave Halter 2017-07-31 10:27:57 +02:00
  • 84ed1af1e4 Get Python3.3+ passing. Dave Halter 2017-07-31 09:28:07 +02:00
  • 3f836c5841 Python 3.4 fixes. Dave Halter 2017-07-31 00:25:15 +02:00
  • 7f6bef19e1 Fix a few things to get Python3.5 working. Dave Halter 2017-07-30 22:24:22 +02:00
  • 0906c0b634 Add no binding found for nonlocal issue Dave Halter 2017-07-30 21:33:26 +02:00
  • aa0225f63f Move some code around in tests. Dave Halter 2017-07-30 19:47:10 +02:00
  • 45b965063e Fix an issue with starred arguments and if they are defined or used. Dave Halter 2017-07-30 18:42:36 +02:00
  • 94ce899a86 Add issue 'too many expressions in star-unpacking assignment' Dave Halter 2017-07-30 15:13:21 +02:00
  • cc24ba61ef Move some tests a bit around. Dave Halter 2017-07-30 14:21:42 +02:00
  • d7b7548f8d Add the issue 'name %s is nonlocal and global Dave Halter 2017-07-30 13:12:27 +02:00
  • 443cb1ce08 Fix another small issue with global/nonlocal names. Dave Halter 2017-07-30 12:55:58 +02:00
  • 2420f57a5c Better checking of annotations/params and nonlocals/globals. Dave Halter 2017-07-30 12:23:17 +02:00
  • b7726d05cf Fix some nonlocal/global issues. Dave Halter 2017-07-30 01:02:36 +02:00
  • 4ff25e8c92 A bit of a better overview in the README what current issues are. Dave Halter 2017-07-29 16:11:04 +02:00
  • 436105e11a Note in README that f-strings are not parsed. Dave Halter 2017-07-29 15:35:27 +02:00
  • c139ef4107 Fix an issue with assigning to __debug__, which is essentially the same as assigning to a keyword. Dave Halter 2017-07-29 15:30:54 +02:00
  • 637e557486 Last issue around expr_stmt. Dave Halter 2017-07-27 00:09:38 +02:00
  • 8071580a4c Some more tests. Dave Halter 2017-07-26 23:57:38 +02:00
  • 0f73f1c9c4 Fix the final issue with expr_list. Dave Halter 2017-07-26 23:56:30 +02:00
  • 7e8961969d Fixed all cases that are called "can't assign/delete %s". Dave Halter 2017-07-26 23:38:41 +02:00
  • e776e2a13d Add issues if users want to assign to operators. Dave Halter 2017-07-26 23:08:36 +02:00
  • 6bdccd61cc Handle nested statements. Dave Halter 2017-07-26 22:19:02 +02:00
  • d48e927224 Add issues for literal assignments. Dave Halter 2017-07-26 22:08:57 +02:00
  • e3828d6fb8 Check for some lambda and comprehension errors when assigning to them. Dave Halter 2017-07-26 21:38:17 +02:00
  • 186160b9ff Add issue 'nonlocal declaration not allowed at module level' Dave Halter 2017-07-25 22:29:09 +02:00
  • 87ce5fa9a4 Add issue 'import * only allowed at module level' Dave Halter 2017-07-25 22:23:38 +02:00
  • d6f5fcf439 Add issue 'duplicate argument '%s' in function definition' Dave Halter 2017-07-25 22:17:15 +02:00
  • 6a92f5ec2d Better __future__ import handling for those that don't exist. Dave Halter 2017-07-25 20:21:38 +02:00
  • d012353637 Add the remaining issues for arguments. Dave Halter 2017-07-25 02:25:06 +02:00
  • babd7fca92 Add issue 'positional argument follows keyword argument unpacking'. Dave Halter 2017-07-25 01:54:25 +02:00
  • d54d7752d4 Some more issues regarding keyword arguments. Dave Halter 2017-07-25 01:19:07 +02:00
  • 00bc1a5b94 Add issue 'keyword can't be an expression' Dave Halter 2017-07-25 00:58:08 +02:00
  • 6085c91df1 Some issues regarding annotations. Dave Halter 2017-07-25 00:38:27 +02:00
  • 319a0cc56f Add issue: 'bytes can only contain ASCII literal characters.' Dave Halter 2017-07-24 18:28:14 +02:00
  • 4e1513ae72 Add issue 'non-default argument follows default argument' Dave Halter 2017-07-24 18:14:54 +02:00
  • d1eb1d61ec Add two more issues one about strings and one about an import. Dave Halter 2017-07-24 00:34:14 +02:00
  • c2ab9a9e25 Add issue 'dict unpacking cannot be used in dict comprehension' Dave Halter 2017-07-23 23:47:57 +02:00
  • 915b00dab7 Added issue: iterable unpacking cannot be used in comprehension Dave Halter 2017-07-23 23:22:05 +02:00
  • 33769c6243 Add issue: Generator expression must be parenthesized if not sole argument Dave Halter 2017-07-23 22:56:19 +02:00
  • 42842a6949 Remove some useless code. Dave Halter 2017-07-23 21:50:53 +02:00
  • a13f1a18a9 A dict unpacking test. Dave Halter 2017-07-23 19:55:05 +02:00
  • 0fe872f87a A few more tests. Dave Halter 2017-07-22 19:21:56 +02:00
  • 3669a81e2f Small improvements. Dave Halter 2017-07-22 19:07:55 +02:00
  • d76eee2a96 Add 'named arguments must follow bare *' issue and a few conftest tweaks. Dave Halter 2017-07-22 19:00:24 +02:00
  • 1b66fa4d44 Correct a parent issue in param rewriting. Dave Halter 2017-07-22 18:46:57 +02:00
  • 58fbd61898 Small refactoring. Dave Halter 2017-07-22 17:32:31 +02:00
  • 89999949e2 Move some 2.6 stuff around. Dave Halter 2017-07-22 16:00:28 +02:00
  • 1ed3cac7c0 Move some things around to allow checking for different versions. Dave Halter 2017-07-22 15:47:04 +02:00
  • 9e5d6db24a More small fixes regarding docstrings. Dave Halter 2017-07-21 19:56:04 +02:00
  • 97b98a1da3 Fix an issue where the future import should be first. Dave Halter 2017-07-21 19:43:49 +02:00
  • 1df06025c2 Handling of star_expr and some async issues. Dave Halter 2017-07-21 17:23:16 +02:00
  • 82d69ca211 Add a comment about using async funcdefs. Dave Halter 2017-07-20 17:38:34 +02:00
  • 05f86b9c87 Fix an issue with async funcdefs in different forms. Dave Halter 2017-07-20 17:37:57 +02:00
  • fa30872d26 Add and fix some async/await issues. Dave Halter 2017-07-20 17:27:51 +02:00
  • 9296fe3def Skip 2 tests in Python 2.6. Dave Halter 2017-07-20 17:11:10 +02:00
  • 26c71a9586 Add yield issues when outside function. Dave Halter 2017-07-20 09:51:35 +02:00
  • fc1c16b966 await checks. Dave Halter 2017-07-20 09:44:10 +02:00
  • 7c9877cd2e Check for future imports in the beginning. Dave Halter 2017-07-20 09:21:28 +02:00
  • 03526cd84e Add default 'except:' must be last. Dave Halter 2017-07-20 01:33:59 +02:00
  • 9c4bf8cec4 Add error code for return outside function. Dave Halter 2017-07-20 00:20:22 +02:00
  • d21504e2ca break should be in loop. Dave Halter 2017-07-20 00:11:15 +02:00
  • 4a86571b21 Add 'continue' not properly in loop Dave Halter 2017-07-19 23:52:41 +02:00
  • 4f7d78716a Remove the strange return values from visi_leaf. Dave Halter 2017-07-19 23:40:31 +02:00
  • 9b8418db3f Forgot to check in the allowed_syntax file. Dave Halter 2017-07-19 23:35:16 +02:00
  • ff04517895 Remove a skipped test. Dave Halter 2017-07-19 23:33:34 +02:00
  • 4919eccf00 Add 'continue' not supported inside 'finally' clause. Dave Halter 2017-07-19 23:33:16 +02:00
  • 944fe5a896 Fix the last IndentationError. Dave Halter 2017-07-19 22:15:20 +02:00
  • d52c8651d7 Fix a 2.7 error. Dave Halter 2017-07-19 21:58:38 +02:00
  • bf5190c7bf Add SyntaxError: too many statically nested blocks. Dave Halter 2017-07-19 21:56:06 +02:00
  • 65df539e97 Better matching syntax errors. Dave Halter 2017-07-19 20:56:31 +02:00
  • 756587ae4a Add tests to check if python returns the same errors as the parser. Dave Halter 2017-07-19 20:54:23 +02:00
  • 6876e1b7c0 Use ERROR_DEDENT instead of ERRORTOKEN for wrong dedents. Dave Halter 2017-07-19 20:13:51 +02:00