Commit Graph

12537 Commits

Author SHA1 Message Date
DimitrisJim
8405693325 Always load __debug__ as a const. 2023-02-26 09:58:27 +02:00
Jeong YunWon
547d752df5 Merge pull request #4567 from youknowone/unicodedata
clean up unicodedata
2023-02-25 17:55:06 +09:00
Jeong YunWon
8b40c2e372 clean up unicodedata 2023-02-25 17:16:03 +09:00
Jim Fasarakis-Hilliard
f51764f8d0 Merge pull request #3806 from ellie-ys/main
Update install rustup
2023-02-24 16:19:39 +02:00
Jim Fasarakis-Hilliard
64f95fec69 fix typo.
Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
2023-02-24 16:19:30 +02:00
Jim Fasarakis-Hilliard
8ca35fdf4f Merge pull request #4562 from youknowone/async-windows
double windows sleep for syntax_async until it success
2023-02-24 16:04:30 +02:00
Jeong YunWon
d87921c12a Merge pull request #4560 from youknowone/unittest
Update unittest from CPython 3.11
2023-02-24 21:45:01 +09:00
Jeong YunWon
ae3de43a62 retry 10times in windows 2023-02-24 21:44:10 +09:00
Jeong YunWon
fbb5e78176 double windows sleep for syntax_async 2023-02-24 15:44:22 +09:00
Jeong YunWon
4a357ee6e9 adjust successful/failing tests from unittest/test 2023-02-24 14:30:25 +09:00
CPython Developers
40b96bfffd Update unittest from CPython 3.11 2023-02-24 14:24:57 +09:00
Jeong YunWon
cfc2e3e228 Merge pull request #4537 from youknowone/lib-support
Update test.support from CPython 3.11.2
2023-02-24 10:59:04 +09:00
Jeong YunWon
25398fe622 adjust success/filure for test_utf8_mode 2023-02-24 02:07:44 +09:00
CPython Developers
a7c3740dee Update test_utf8_mode from 3.11.2 2023-02-24 02:06:13 +09:00
CPython Devleopers
7de056437f Update locale from CPython 3.11.2 2023-02-24 01:16:25 +09:00
Jeong YunWon
cfa9de4047 Mark newly failing tests 2023-02-24 01:16:25 +09:00
CPython Devleopers
c48fe567f7 Update test.support from CPython 3.11.2 2023-02-24 01:16:22 +09:00
Jeong YunWon
c4b6789666 Merge pull request #4557 from charliermarsh/charlie/star
Allow type variable tuple for *args
2023-02-24 00:54:38 +09:00
Jeong YunWon
6404c4bca8 Merge pull request #4555 from youknowone/imp-override-frozen-modules
Add _imp._override_frozen_modules_for_tests
2023-02-23 23:28:08 +09:00
Charlie Marsh
9423712696 Allow type variable tuple for *args 2023-02-23 08:39:59 -05:00
Jeong YunWon
5018b1a426 Merge pull request #4556 from youknowone/fix-async
Fix syntax_async test less fail in windows
2023-02-23 21:18:41 +09:00
Jeong YunWon
1336ca5d9d Fix syntax_async 2023-02-23 20:05:34 +09:00
Jeong YunWon
5e3046d86a Add _imp._override_frozen_modules_for_tests 2023-02-23 19:23:43 +09:00
Dimitris Fasarakis Hilliard
e45536ae93 Address feedback, clean up readme. 2023-02-23 11:15:40 +02:00
Jeong YunWon
48254acb4e Merge pull request #4165 from jopemachine/fix-test-prop
Fix `property.__set_name__` error message when arguments are invalid
2023-02-23 18:07:55 +09:00
Ellie
20b408ff3e Update install rustup 2023-02-23 10:38:47 +02:00
Jeong YunWon
4a579b5752 Merge pull request #4553 from howjmay/co_nlocals
Add co_nlocals to code object
2023-02-23 11:14:34 +09:00
Jeong YunWon
edf5995a1e Merge pull request #4552 from charliermarsh/charlie/loc
Limit match range to end of last statement
2023-02-23 02:11:42 +09:00
Jeong YunWon
6b2efdc9c3 Merge pull request #4543 from youknowone/flatten-parser
Flatten parser interface
2023-02-23 02:09:46 +09:00
Jeong YunWon
17f5aed6dd Merge pull request #4548 from youknowone/hash-tuple
Prepare to implement hash for tuple
2023-02-23 02:08:13 +09:00
Jim Fasarakis-Hilliard
fb44ded002 Merge pull request #4549 from youknowone/py311
Mark RustPython as Python 3.11
2023-02-22 18:38:12 +02:00
Yang Hau
fea711cebb Add co_nlocals to code object
Closes #4546
2023-02-23 00:29:35 +08:00
Charlie Marsh
57efe6f75d Limit match range to end of last statement 2023-02-22 11:25:50 -05:00
Jim Fasarakis-Hilliard
6d71f75817 Merge pull request #4551 from charliermarsh/charlie/trailing
Allow trailing commas in MappingPattern
2023-02-22 17:53:12 +02:00
Charlie Marsh
d570b1731e Allow trailing commas in MappingPattern 2023-02-22 10:02:41 -05:00
Jeong YunWon
8fc263f62f Python 3.11 missed 2023-02-22 22:18:15 +09:00
Narawit Rakket
3886f889ab Prepare to implement hash for tuple 2023-02-22 22:07:23 +09:00
Jeong YunWon
f96942bdc0 use super::* from tests submodules 2023-02-22 21:01:39 +09:00
Jeong YunWon
f628a3fd7e remove #[macro_use] 2023-02-22 20:41:27 +09:00
Jeong YunWon
f078f79c90 Flatten rustpython_parser interface 2023-02-22 20:32:31 +09:00
Jeong YunWon
af45d22fb7 make_tokenizer -> lex to integrate terms
we don't distinguish scanner or tokenizer from lexer
2023-02-22 20:28:15 +09:00
Jeong YunWon
c3a7d8c433 relocate feature-independent use 2023-02-22 20:28:03 +09:00
Jeong YunWon
6c7d81c325 Fix ModeParseError message 2023-02-22 20:28:03 +09:00
Jeong YunWon
a6f8c53924 Break down rustpython_parser::error module
because it doesn't share any common errors but specific error for each sub module
2023-02-22 20:28:01 +09:00
Jeong YunWon
6d5bbd913c Merge pull request #4542 from charliermarsh/charlie/expose
Always wrap token streams in `SoftKeywordTransformer`
2023-02-22 16:48:01 +09:00
Charlie Marsh
4e957d3484 Always wrap in SoftKeywordTransformer 2023-02-21 19:18:42 -05:00
Charlie Marsh
454ec3e74c Expose SoftKeywordTransformer on public API 2023-02-21 19:00:32 -05:00
Jim Fasarakis-Hilliard
ddf497623a Merge pull request #4519 from charliermarsh/charlie/match
Add support for match statements to parser
2023-02-21 19:43:28 +02:00
Jeong YunWon
746cb0493f Merge pull request #4508 from marvinmednick/pathconf_names
Pathconf names
2023-02-22 00:03:43 +09:00
Jeong YunWon
2e27587f15 Merge pull request #4530 from itsankitkp/handle-panic-strftime-new
Return arg in case of invalid param in strftime
2023-02-22 00:03:04 +09:00