Dave Halter
|
c4f297a57a
|
Merge pull request #176 from Terseus/bugfix/175-nonlocal-parameter
Prevent incorrect syntax error with nonlocal of a parameter
|
2021-03-09 00:50:03 +01:00 |
|
Terseus
|
e5d6663721
|
Prevent incorrect syntax error with nonlocal of a parameter
Also includes a test for the error "name 'x' is assigned before nonlocal
declaration"
Fixes #175
|
2021-02-21 10:40:45 +01:00 |
|
Bryan Forbes
|
e5731d3932
|
Only apply non-default params logic prior to the star (fixes #161)
|
2021-02-15 19:33:44 -06:00 |
|
Dave Halter
|
b5e2e67a4d
|
Remove support for parsing Python 2
|
2020-07-24 14:48:02 +02:00 |
|
Batuhan Taskaya
|
8f46481aaf
|
Raise violation on starred expressions where the child is a boolean/none
|
2020-05-23 01:09:38 +03:00 |
|
Dave Halter
|
3e39a04bb1
|
Fix opening contexts at the right position.
|
2017-08-06 14:39:26 +02:00 |
|
Dave Halter
|
3ccbf4326c
|
Added the unicode/bytes literal escaping issues.
|
2017-08-02 10:17:15 +02:00 |
|
Dave Halter
|
5fbbb225dd
|
Refactor a bit for Python 2.
|
2017-07-31 10:27:57 +02:00 |
|
Dave Halter
|
7f6bef19e1
|
Fix a few things to get Python3.5 working.
|
2017-07-30 22:24:22 +02:00 |
|
Dave Halter
|
0906c0b634
|
Add no binding found for nonlocal issue
|
2017-07-30 21:33:26 +02:00 |
|
Dave Halter
|
aa0225f63f
|
Move some code around in tests.
|
2017-07-30 19:47:10 +02:00 |
|
Dave Halter
|
45b965063e
|
Fix an issue with starred arguments and if they are defined or used.
|
2017-07-30 18:42:59 +02:00 |
|
Dave Halter
|
94ce899a86
|
Add issue 'too many expressions in star-unpacking assignment'
|
2017-07-30 15:13:21 +02:00 |
|
Dave Halter
|
2420f57a5c
|
Better checking of annotations/params and nonlocals/globals.
|
2017-07-30 12:23:17 +02:00 |
|
Dave Halter
|
186160b9ff
|
Add issue 'nonlocal declaration not allowed at module level'
|
2017-07-25 22:29:09 +02:00 |
|
Dave Halter
|
6a92f5ec2d
|
Better __future__ import handling for those that don't exist.
|
2017-07-25 20:21:38 +02:00 |
|
Dave Halter
|
6085c91df1
|
Some issues regarding annotations.
|
2017-07-25 00:38:27 +02:00 |
|
Dave Halter
|
d1eb1d61ec
|
Add two more issues one about strings and one about an import.
|
2017-07-24 00:34:14 +02:00 |
|
Dave Halter
|
fc1c16b966
|
await checks.
|
2017-07-20 09:44:10 +02:00 |
|
Dave Halter
|
03526cd84e
|
Add default 'except:' must be last.
|
2017-07-20 01:33:59 +02:00 |
|
Dave Halter
|
4a86571b21
|
Add 'continue' not properly in loop
|
2017-07-19 23:52:41 +02:00 |
|
Dave Halter
|
9b8418db3f
|
Forgot to check in the allowed_syntax file.
|
2017-07-19 23:35:16 +02:00 |
|