Noa
602015fca1
Update nix and socket2
2024-01-09 20:53:58 +09:00
Jeong, YunWon
4729ca3af0
Drop winapi from rustpython-vm
2023-12-28 23:44:47 +09:00
Jeong, YunWon
cccfb08835
replace winbase winnt to windows-sys
2023-12-28 22:40:49 +09:00
Jeong, YunWon
d01909a524
replace handleapi to windows-sys
2023-12-28 22:28:49 +09:00
Jeong, YunWon
ee128eac7c
replace errorhandling to windows-sys
2023-12-28 22:28:33 +09:00
Jeong, YunWon
6df9732965
replace wincon to windows-sys
2023-12-28 22:28:33 +09:00
Jeong, YunWon
8a84a479f1
remove processthreadsapi
2023-12-28 22:28:33 +09:00
Jeong, YunWon
7513017e21
replace sysinfoapi to windows-sys
2023-12-28 22:28:33 +09:00
Noa
068249196f
Use new 1.74 features ( #5118 )
2023-11-17 13:01:05 +09:00
Dan Näsman
4e6172b99d
Add object protocol correspoinding to PyObject_GetAIter ( #5090 )
2023-10-16 10:39:29 -07:00
Amuthan Mannar
9241e2e5d5
[VM] Object pickling implementation for product object (python itertools) ( #5089 )
...
* Implemented __reduce__, __setstate__ in product object
2023-10-12 20:12:33 +09:00
Jeong, YunWon
4a61eba58e
rustpython_vm::windows
2023-10-07 03:02:56 +09:00
Jeong, YunWon
58df09b492
GetLastError
2023-10-07 03:02:56 +09:00
Yaminyam
6313e4c9fb
windows-sys attrs
...
Copied from https://github.com/RustPython/RustPython/pull/4086
2023-10-07 03:02:56 +09:00
Jeong, YunWon
0f3a9311e0
port winbase
2023-10-07 03:02:19 +09:00
Jeong, YunWon
987d50c092
port to windows-rs ( #5080 )
...
* Fix OpenSSL in windows CI
* bump windows-rs
* prepare windows-sys 0.48
* CloseHandle
* DuplicateHandle
* CreatePipe
* GetFileType
* GetExitCodeProcess
* TerminateProcess
* GetStdHandle
* GetCurrentProcess
* DeleteProcThreadAttributeList
* WaitForSingleObject
* CreateProcessW
* InitializeProcThreadAttributeList
* UpdateProcThreadAttribute
* clean up helpers
2023-10-07 03:01:42 +09:00
Jeong, YunWon
4135da42ac
Fix clippy ( #5083 )
...
* Fix clippy
* Fix nightly clippy
2023-10-06 03:17:03 +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
Reid00
3900a086b8
update imp.py from CPython 3.11 ( #5054 )
2023-08-31 17:44:31 +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
LucaSforza
94029386ae
added __reduce__ method for itertools.permutations
2023-08-27 02:13:44 +09:00
Jeong, YunWon
d4d362a9ca
Update to Rust 1.72.0
2023-08-27 00:38:10 +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
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
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
ilp-sys
8dbf7b27ef
Fix test_path_like_objects ( #4773 )
...
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com >
2023-06-13 00:10:50 +09:00
Ivan Gromov
cbaed46fb4
Implement itertools.accumulate.__reduce__ and __setstate__ ( #4434 )
...
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com >
2023-06-12 19:26:03 +09:00
Jim Fasarakis-Hilliard
3a2a1d1b74
Remove unecessary unsafe, remove generated file in extra_snippets. ( #4998 )
2023-06-11 06:03:01 +03:00
Steve Shi
de0d323ad3
change dependency from num-bigint to malachite-bigint ( #4952 )
2023-06-08 14:28:39 +09:00
Jeong, YunWon
7a3f965396
new ast layout for arguments ( #4978 )
2023-06-02 17:07:34 +09:00
Ankit Kumar Pandey
058f8c5500
Add fork support functions ( #4972 )
2023-06-01 15:29:16 +09:00
jinnarajin
050f0bd0ad
weakref.__reversed__ fixed ( #4780 )
2023-05-19 23:43:07 +09:00
Jeong, YunWon
f5fc30ae63
Move range to each Node ( #4969 )
2023-05-15 17:00:23 +09:00
Micha Reiser
7a6000d181
Use format and cformat from rustpython-literal ( #4968 )
...
* Use `format` and `cformat` from `rustpython-literal`
* Remove unused dependencies, use `rustpython-format`
2023-05-13 02:58:02 +09:00
Jeong, YunWon
833371918d
Merge pull request #4959 from bjoroen/report_overflow_error
...
Report overflow error
2023-05-11 17:13:34 +09:00
Jeong YunWon
4064c84cb4
ast::Identifier and ast::Int
2023-05-10 20:31:35 +09:00
Jeong YunWon
dc569e9921
Refactoring
2023-05-10 19:35:27 +09:00
Jeong YunWon
f1b261b4f8
Adapt byte-offset location
2023-05-10 04:13:30 +09:00
Eirik Bjoroen
fa30d33c9b
Added both errors, and used value error for year, month, day and overflow for hour, min and sec - test now passes
2023-05-08 20:52:23 +02:00
Eirik Bjoroen
3d9fb36cde
Changed what error message is shown
2023-05-07 18:46:48 +02:00
Eirik Bjoroen
6603c46b41
Changed what type of error gets reported
2023-05-07 18:36:06 +02:00
Jeong YunWon
c7025f70d5
Remove PySymbol*Ref types
2023-05-08 01:11:13 +09:00
Jeong YunWon
0af106c85c
Refactor ast to hold data as seperated type
2023-05-07 19:31:31 +09:00
Jeong YunWon
bac1cdc55f
Remove compiler_core::CompileError
2023-05-06 18:22:25 +09:00
Jeong YunWon
98eef0804e
Method overhaul with PyMethodDef
2023-04-30 17:33:23 +09:00
Jeong YunWon
9f58921a6f
Rename IterNextIterable -> SelfIter by following CPython
2023-04-30 03:54:32 +09:00
Jeong YunWon
9b9dd1100a
Add missing with(Iterable)
2023-04-30 03:54:32 +09:00