13313 Commits

Author SHA1 Message Date
Jeong YunWon
1208416b92 0.3.0 release 0.3.0 2023-09-06 18:49:55 +09:00
Jeong YunWon
e5cea3ad37 Update parser to 0.3.0 2023-09-05 17:18:39 +09:00
Reid00
8c11992e59 test: update test_difflib from CPython3.11.2 (#5063) 2023-09-05 17:18:00 +09:00
Reid00
b864e5da1f feat: Implement _imp._frozen_module_names (#5062) 2023-09-03 21:33:42 +09:00
Jeong, YunWon
77939d2ca5 Update platform from CPython 3.11.5 (#5060)
* Update platform and test from CPython 3.11.5

* sys.dllhandle (=0)

* Unmark fixed test of test_sysconfig

---------

Co-authored-by: CPython Developers <>
2023-09-01 13:55:28 +09:00
Jeong, YunWon
9cf18a8bdc feature encodings is dependency of stdlib (#5061) 2023-09-01 01:44:05 +09:00
Dominic Elm
c25aa1add4 Print version and info text when executing the shell (#5057) 2023-08-31 17:46:00 +09:00
Reid00
3900a086b8 update imp.py from CPython 3.11 (#5054) 2023-08-31 17:44:31 +09:00
Jeong, YunWon
64c66e00d6 Fix encodings related error messages to be less confusing (#5049)
* Move cwd setup to interpreter code

* rework import encodings failure message

* try import_encodings only when `path_list` is set

* std::mem::take instead of drain(..).collect()

* Add empty path_list warnings to import_encodings

* Prepend current working directory when !safe_path

Co-authored-by: fanninpm <fanninpm@miamioh.edu>
2023-08-30 21:45:36 +09:00
Jeong, YunWon
4ba2892168 Better tips for Interpreter & InterpreterConfig (#5047)
Co-authored-by: fanninpm <fanninpm@miamioh.edu>
2023-08-30 20:00:07 +09:00
Jeong, YunWon
aee68d20bb Fix freeze-stdlib + Interpreter::without_stdlib (#5051)
* Fix pylib invalidation config

* Fix Interpreter::without_stdlib with frozen-stdlib feature
2023-08-30 19:50:20 +09:00
Junho Lee
d4be55c2ea Add command line parameter -P (#4611)
* Add command line parameter -P

* Modify the value of safe_path to be set

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2023-08-30 19:32:27 +09:00
Jeong, YunWon
e2f7d5b2f9 fix wasm prettier (#5055) 2023-08-30 18:25:27 +09:00
Reid00
9417eec81e feat: update test_hashlib fro CPython3.11 (#5053)
Co-authored-by: zhangbl <zhangbl@greatld.com>
2023-08-30 00:09:21 +09:00
Jeong, YunWon
d056201e5b Merge pull request #5040 from d3lm/delm/feat/wasi/set-current-dir
Add ability to initialize cwd from PWD when targeting WASI
2023-08-27 03:37:46 +09:00
Jeong, YunWon
93d731cc4b Merge pull request #5029 from LucaSforza/main
added __reduce__ method for itertools.permutations
2023-08-27 03:19:37 +09:00
Jeong, YunWon
d24013d582 Merge pull request #5045 from youknowone/debugger
Add with/without ssl targets to debugger configuration
2023-08-27 03:15:59 +09:00
Jeong, YunWon
31f0d9b282 Merge pull request #5035 from Reid00/main
Update test_code.py code.py from CPython v3.11
2023-08-27 03:05:15 +09:00
Jeong, YunWon
f7d4413c62 Merge pull request #5036 from dannasman/path_error_message
Path error message
2023-08-27 03:03:38 +09:00
Dominic Elm
3131d56298 fixup: add note 2023-08-27 02:30:07 +09:00
Dominic Elm
9c2355117c Add ability to initialize cwd from PWD when targeting WASI 2023-08-27 02:30:07 +09:00
LucaSforza
94029386ae added __reduce__ method for itertools.permutations 2023-08-27 02:13:44 +09:00
zhangbl
0fbe57f96b Update test_code.py code.py from CPython v3.11. 2023-08-27 02:13:11 +09:00
Dan Nasman
5f6059ef73 fix formatting 2023-08-27 02:12:27 +09:00
Dan Nasman
ba8d7b541f change conditional expression 2023-08-27 02:12:27 +09:00
Dan Nasman
b1238ab4eb change import_encodings error message 2023-08-27 02:12:27 +09:00
Jeong, YunWon
287f89aa04 Add with/without ssl targets to debugger configuration 2023-08-27 02:11:01 +09:00
Jeong, YunWon
d5a62848dd Merge pull request #5044 from youknowone/rust-1.72
Fix windows SSL failure & Update to Rust 1.72.0
2023-08-27 01:41:52 +09:00
Jeong, YunWon
03f954408a Fix windows SSL bug 2023-08-27 00:38:10 +09:00
Jeong, YunWon
d4d362a9ca Update to Rust 1.72.0 2023-08-27 00:38:10 +09:00
Jeong, YunWon
aea4d509c9 Fix win_lib_path to actually work 2023-08-26 23:23:14 +09:00
Zanie Blue
bdb0c8f645 Add parser support for PEP 695 (#5026)
* Add generated content for PEP 695 ASDL

* Bump RustPython/Parser to 704eb40108

* Add stubs for type aliases and parameters
2023-07-20 13:54:07 +09:00
Jeong, YunWon
c28cb3941f prettier *.js + fix miri build (#5028)
* prettier *.js

* bump up proc-macro2
2023-07-19 23:43:26 +09:00
Jim Fasarakis-Hilliard
d66f4d5315 Merge pull request #5025 from zanieb/internal/update-asdl
Delete stale ASDL update script
2023-07-11 23:45:27 +03:00
Zanie
b088787f7b Remove commented use of ASDL update script from CI workflow 2023-07-11 15:44:22 -05:00
Zanie
6363940d6c Delete stale ASDL update script 2023-07-11 15:27:16 -05:00
Bobby Palmer
a58ede99f2 add int_max_str_digits input from command line (#5021)
* added int_max_str_digits to settings struct

* changed vm init to use the value from settings

* added error handling and set the settings default to -1 which sets the value to 4300
2023-07-06 01:24:11 +09:00
Jim Fasarakis-Hilliard
7e66db0d43 Merge pull request #5020 from RustPython/dependabot/cargo/openssl-0.10.55
Bump openssl from 0.10.48 to 0.10.55
2023-06-22 02:52:01 +03:00
dependabot[bot]
179de9fb67 Bump openssl from 0.10.48 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:55:38 +00:00
Bobby Palmer
500b0024f0 updated _collections_abc.py and test_collections.py to CPython 3.11.2 (#5016)
* updated _collections_abc.py and its tests in test_collections.py

* decorated failing tests in test_typing.py
2023-06-18 17:31:03 +03:00
Jim Fasarakis-Hilliard
4bec66e1c6 Pin Python version to 3.11.4 in CI runs. (#5015)
* Pin Python version to 3.11.4 in CI runs.

* Use quotation marks around version, yaml parsing issues.

Co-authored-by: fanninpm <fanninpm@miamioh.edu>

---------

Co-authored-by: fanninpm <fanninpm@miamioh.edu>
2023-06-18 14:36:50 +03:00
Dan Näsman
1cdc5d3294 Add get_int_max_str_digits and set_int_max_str_digits in sys. (#5014)
---------

Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
2023-06-17 23:46:22 +03:00
Jeong, YunWon
3d2c51962b Update parser (#5012) 2023-06-18 02:38:42 +09:00
Jim Fasarakis-Hilliard
5c81649b19 Return SyntaxError with null byte input in eval. (#5013)
* Return SyntaxError with null byte input in eval.

* Special case MacOS for now, add a note for future sanity.
2023-06-17 16:58:28 +03:00
Jeong, YunWon
d64d33c809 Merge pull request #5009 from DimitrisJim/pylibs_upgrade_dos
Update more libraries from 3.11
2023-06-14 17:19:15 +09:00
DimitrisJim
b875057ae2 Fix test failures/successes for windows. 2023-06-14 01:53:08 +03:00
DimitrisJim
2e5b0330c7 Update pprint from Python 3.11 2023-06-14 01:19:14 +03:00
DimitrisJim
c7d3358582 Update numbers from Python 3.11 2023-06-14 01:13:52 +03:00
DimitrisJim
1df0a44958 Update nturl2path from Python 3.11 2023-06-14 01:07:12 +03:00
DimitrisJim
3c8fb93ab4 Update ntpath from Python 3.11 2023-06-14 00:50:38 +03:00