Commit Graph

5767 Commits

Author SHA1 Message Date
Noah
b245712949 Fix some 32-bit only oom tests + others 2020-06-06 17:14:32 -05:00
Noah
3f9665370d Allow to compile for 32-bit targets 2020-06-06 17:14:32 -05:00
Noah
5f34c61cb9 Merge pull request #1957 from RustPython/coolreader18/json-encode_basestring
Implement _json.encode_basestring{,_ascii}
2020-06-06 17:13:00 -05:00
Noah
74f261a22c Fix Rust 1.44 clippy warnings 2020-06-06 15:37:47 -05:00
Noah
0fb79e1086 Implement _json.encode_basestring{,_ascii} 2020-06-06 15:33:29 -05:00
Noah
569031d404 Merge pull request #1958 from xjvs/patch-1
Fix link to introduction of parser blog
2020-06-04 14:58:36 -05:00
xjvs
83a58a63a8 Update README.md 2020-06-04 18:21:45 +08:00
Noah
c2bbacf19a Add __name__ and __module__ fields to builtin functions 2020-06-03 16:19:28 -05:00
Noah
2224650fbb Impl DictKey for &PyStringRef 2020-06-03 16:17:19 -05:00
Jeong YunWon
5348e87772 Merge pull request #1948 from palaviv/home-page
Add link to home page
2020-06-03 16:41:55 +09:00
Jeong YunWon
5f40d99b04 Merge pull request #1917 from youknowone/test-unpack
Fix unpack error messages and add unittest test_unpack.py
2020-06-03 16:41:18 +09:00
Jeong YunWon
596bbfa58d Merge pull request #1955 from RustPython/coolreader18/fix-redox
Fix redox compilation
2020-06-03 13:33:41 +09:00
Jeong YunWon
1031fd7e8b Merge pull request #1954 from RustPython/coolreader18/fix-codecov
Fix codecov collection
2020-06-03 13:31:59 +09:00
Noah
f105e72e70 Merge pull request #1944 from RustPython/coolreader18/_thread-_local
Add _thread._local
2020-06-02 19:37:27 -05:00
Noah
fa2f5d640a Use the thread_local crate for local dicts 2020-06-02 15:32:01 -05:00
Noah
70f21cf4a1 Add script for running rustpython in redoxer with Lib 2020-06-02 15:21:35 -05:00
Noah
2576321c2e Fix compilation on redox 2020-06-02 15:21:33 -05:00
Noah
fb3a6c71da Disabling panic=abort temporarily 2020-06-02 15:13:11 -05:00
Jeong YunWon
595f68bd6f Merge pull request #1949 from gcarq/cpython-test-coverage
Add some tests from CPython 3.8.3
2020-06-03 00:36:53 +09:00
Noah
d940886411 Fix -Zno-landing-pads 2020-06-02 02:56:10 -05:00
CPython dev
be8c71be24 Lib/test/test_unpack.py from CPython 3.8.2 2020-06-02 01:23:29 +09:00
Jeong YunWon
72b28e4e2d Fix unpack error messages 2020-06-02 01:23:29 +09:00
Jeong YunWon
9f2b047aa2 TextIOWrapper optional args encoding and errors 2020-06-02 01:09:24 +09: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
gcarq
1ea09d2771 Lib/test/test_operator.py: annotate remaining failing tests 2020-05-30 22:46:49 +02:00
gcarq
ca26b2e619 Lib/test/test_exception_hierarchy.py from CPython 3.8.3 2020-05-30 22:31:16 +02:00
gcarq
28ee6cd133 Lib/test/test_module.py from CPython 3.8.3 2020-05-30 22:24:55 +02:00
gcarq
321aa024bd Lib/test/test_operator.py from CPython 3.8.3 2020-05-30 22:20:04 +02:00
gcarq
5734627ea0 Lib/test/test_errno.py from CPython 3.8.3 2020-05-30 22:15:55 +02:00
Aviv Palivoda
5245528b24 Add link to home page 2020-05-30 10:41:57 +03:00
Aviv Palivoda
3a524d3bc2 Merge pull request #1947 from palaviv/test-argparse
Add CPython argparse test
2020-05-30 10:32:17 +03:00
Noah
b562ff5fe6 Merge pull request #1922 from youknowone/unpack-ex
Fix unpack_ex error messages
2020-05-30 01:22:52 -05:00
Jeong YunWon
9338dcdf45 Fix unpack_ex related messages 2020-05-30 01:07:38 +00:00
Jeong YunWon
7bce7baf4a Fix SyntaxError visualize order: message first location later 2020-05-30 01:07:38 +00:00
Jeong YunWon
e4be376336 comprehension starred expression compatibility 2020-05-30 01:07:38 +00:00
Jeong YunWon
09d849ab0a Distinguish MultipleStarArgs and InvalidStarArgs compile errors 2020-05-30 01:07:38 +00:00
Aviv Palivoda
dfc50dcc8f Clear buffered_io_base 2020-05-29 19:59:53 +03:00
Aviv Palivoda
2862845645 Fix clippy warning 2020-05-29 19:56:32 +03:00
Aviv Palivoda
3b03674170 Set mode in io_open 2020-05-29 18:31:56 +03:00
Aviv Palivoda
38c0bf9d08 Support sign before dot in float parsing 2020-05-29 18:07:31 +03:00
Aviv Palivoda
6f9d882300 Support name,mode in TextIOWrapper, _BufferedIOBase 2020-05-29 17:49:42 +03:00
Aviv Palivoda
7b6b92938f Support converting from string in complex 2020-05-29 17:06:41 +03:00
Aviv Palivoda
510d62ab98 Add test_argparse from CPython 3.8 2020-05-29 15:49:22 +03:00
Aviv Palivoda
02e3c228bc Add code attribute to SystemExit 2020-05-29 12:13:09 +03:00
Noah
0ec86f17ee Add num_expected_failures stat to jsontests 2020-05-28 23:38:28 -05:00
Noah
8452dbe846 Merge pull request #1942 from RustPython/coolreader18/init-with-_io
Initialize the vm with imports from _io instead of io
2020-05-28 10:30:27 -05:00
Noah
802913b849 Merge pull request #1946 from CodeTriangle/master
Incrementally adding OpenBSD support (pt. 1)
2020-05-27 21:07:11 -05:00
Noah
0d7d4f0472 Add expected_failure result type to jsontests 2020-05-27 20:53:25 -05:00
Reuben Staley
eafb741f51 premature push, whoops 2020-05-27 19:20:52 -06:00
Reuben Staley
d3dc52431a rustfmt was not pleased 2020-05-27 19:15:38 -06:00