10 Commits

Author SHA1 Message Date
Noah
7c58f4a0c8 Fast locals part 3 2020-12-05 16:36:35 -06:00
TheAnyKey
d17fcc4514 Merge branch 'master' into TheAnyKey/p38_named_expression_completion_step2 2020-06-22 00:34:00 +02:00
TheAnyKey
d96b97a039 fixed scoping issue, commented test with references to original version 2020-06-21 22:18:43 +00:00
Jeong YunWon
8e8efe0ec8 reform every TODO: RUSTPYTHON to same format 2020-06-17 18:47:13 +09:00
TheAnyKey
2a172a6fa1 commented and cleaned up 2020-06-14 12:06:39 +00:00
TheAnyKey
ddd8151792 completion of error handling for named expressions and scope handling improvements 2020-06-13 21:16:51 +00:00
TheAnyKey
7fae55fa51 corrected and added comments 2020-06-10 18:13:47 +00:00
TheAnyKey
8f6841f61f removed extraneous test case, which is covered by test_scope.py 2020-06-03 18:18:00 +00:00
TheAnyKey
1773d2bc14 fixed scoping issue for nonlocals - now also indirect outer scopes are supported 2020-06-01 22:47:28 +00:00
TheAnyKey
fd2e0aa41e Implement Py38 named expression (PEP 572) (#1934)
* Initial implementation of named expression and  import  according CPython tests

* added new instruction with inversed evaluation order for dict comprehension, in other cases use regular evaluation order

* added further aspects to implementation, cleaned up, imported test from CPython

* implemented first parts of scoping enhancement and extended checks

* completion of name resolution ongoing, now more test passing, still warinings and cleanup required

* further optimization of name resolution in nested scopes

* Initialize the vm with imports from _io instead of io

* Add the OpenBSD support that I am smart enough to

* adapted grammer to full support, most test are passing now, esp. all invalids are passed. Cleaned up in symboltable

* more conditional compiling, this time for errors

* rustfmt was not pleased

* premature push, whoops

* Add expected_failure result type to jsontests

* Initial implementation of named expression and  import  according CPython tests

* added new instruction with inversed evaluation order for dict comprehension, in other cases use regular evaluation order

* added further aspects to implementation, cleaned up, imported test from CPython

* implemented first parts of scoping enhancement and extended checks

* completion of name resolution ongoing, now more test passing, still warinings and cleanup required

* further optimization of name resolution in nested scopes

* adapted grammer to full support, most test are passing now, esp. all invalids are passed. Cleaned up in symboltable

* Fixed nameing convention violation and removed unnecessary information from symbol resolution. Added some more comments.

* Fixed nameing convention violation and removed unnecessary information from symbol resolution. Added some more comments.

Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
Co-authored-by: Reuben Staley <lighthousemaniac@gmail.com>
2020-06-01 11:22:15 +02:00