Commit Graph

9320 Commits

Author SHA1 Message Date
Noa
5de5ce47ec Make tokenize work on wasm 2021-09-30 15:55:48 -05:00
Noa
830418914e Update zipfile.py to CPython 3.9 2021-09-30 15:55:47 -05:00
Noa
d5c4591fad Add sys.platlibdir 2021-09-30 15:55:47 -05:00
Noa
f9a8413860 Update distutils.{command.install,sysconfig} to fix pip warnings 2021-09-30 15:55:47 -05:00
Jim Fasarakis-Hilliard
30fd99f1be Merge pull request #3129 from youknowone/rustpython-stdlib
rustpython-stdlib crate
2021-09-30 23:16:19 +03:00
Jeong YunWon
fb25a15f2c split rustpython-stdlib crate 2021-10-01 01:54:04 +09:00
Jeong YunWon
e881e3da0a move init_winsock to nt 2021-10-01 01:54:04 +09:00
Jeong YunWon
d42c4eb21e move builtins module to vm::stdlib::builtlins for consistency 2021-10-01 01:54:04 +09:00
Jeong YunWon
c62914daac expose PyFrozenSet 2021-10-01 01:54:04 +09:00
Jeong YunWon
b2ab17aaa7 clean up to use only public api 2021-10-01 01:54:04 +09:00
Jeong YunWon
e888991da8 expose PyTuple::_new for PyStructSequence 2021-10-01 01:54:04 +09:00
Jeong YunWon
6da45da5e7 expose time::time as pub 2021-10-01 01:54:04 +09:00
Jeong YunWon
7fd2f0b5e7 expose more common interfaces 2021-10-01 01:54:04 +09:00
Jeong YunWon
b4a6b1e491 Merge pull request #3175 from lijm1358/cmath-atan-atanh
Add `atanh` and `atan` to `cmath`
2021-10-01 01:52:09 +09:00
lijm1358
438661dc44 Add atanh and atan to cmath 2021-10-01 01:19:43 +09:00
Jeong YunWon
dee7828d18 Merge pull request #3174 from dldks321/missing-cmath
Add `asinh` function to `cmath`
2021-10-01 01:06:33 +09:00
LeeBeomsu
59b707c2ac add asinh function to cmath
Signed-off-by: LeeBeomsu <dlqjatn2@gmail.com>
2021-09-30 21:46:25 +09:00
Jim Fasarakis-Hilliard
a3c06d9164 Merge pull request #3117 from youknowone/pyiter-protocol
PyIter protocol object
2021-09-30 00:36:48 +03:00
Jim Fasarakis-Hilliard
e045f4b239 Merge pull request #3171 from youknowone/derive-default
Derive Default for CompileOpts
2021-09-29 23:17:30 +03:00
Jeong YunWon
3273be1a6b PyIter protocol 2021-09-30 05:16:10 +09:00
Jeong YunWon
4c8b14d2f1 Derive Default for CompileOpts 2021-09-30 03:59:18 +09:00
Jeong YunWon
8a46e638ce PyIter -> SlotIterator to reserve PyIter for protocol object 2021-09-30 03:06:47 +09:00
Jeong YunWon
0787ed0fd3 Merge pull request #3135 from youknowone/tp-slot
tp_ -> slot_
2021-09-30 03:05:27 +09:00
Jeong YunWon
c3d8e792b7 tp_ -> slot_ 2021-09-30 02:51:44 +09:00
Jeong YunWon
65d2aeef26 Merge pull request #3132 from youknowone/sys
vm::sysmodule -> vm::stdlib::sys
2021-09-30 02:50:25 +09:00
Jeong YunWon
fb4581bd45 vm::sysmodule -> vm::stdlib::sys 2021-09-30 02:19:58 +09:00
Jeong YunWon
0f2efbe930 Merge pull request #3163 from afpro/main
android SSL support system certs
2021-09-30 02:03:37 +09:00
Jeong YunWon
0d9d689a09 Merge pull request #3152 from youknowone/array-internal
array buffer internal with original type
2021-09-30 01:51:56 +09:00
Jeong YunWon
5d1e0a95bb Merge pull request #3131 from youknowone/exc-builtins
Expose exception types under vm::builtins
2021-09-30 01:51:11 +09:00
Jeong YunWon
65d0eb35a0 Merge pull request #3045 from DimitrisJim/clean_pyargs
Clean up bare occurunces of `[pyarg(any)]`
2021-09-30 01:28:55 +09:00
Jeong YunWon
d2692554e4 clean up imports 2021-09-30 01:26:41 +09:00
Jeong YunWon
c3f46c773e Expose exception types under vm::builtins 2021-09-30 01:12:45 +09:00
Jeong YunWon
3a84b28c87 Merge pull request #3109 from youknowone/byteslike-args
move vm/src/{byteslike.rs -> function/byteslike.rs}
2021-09-30 01:06:37 +09:00
Jeong YunWon
06e439ee58 Merge pull request #3150 from deantvv/io-error-with-filename
OSError with filename and filename2
2021-09-30 00:18:13 +09:00
Dean Li
66bb59016d generalize IOErrorWithFilename to use PathOrFd 2021-09-29 22:16:45 +08:00
Jim Fasarakis-Hilliard
ab9ca950e2 Merge pull request #3141 from youknowone/fspath
FsPath public API
2021-09-29 15:55:09 +03:00
jfh
121655826a pyarg(any) implies positional_or_keyword 2021-09-29 15:43:09 +03:00
afpro
dee02b4935 fix naming (droid->android); fix compile error 2021-09-29 11:44:57 +08:00
Jeong YunWon
495ba77ae5 move vm/src/{byteslike.rs -> function/byteslike.rs} 2021-09-29 02:28:43 +09:00
Jeong YunWon
728af615ff clean up andorid ssl 2021-09-29 02:00:13 +09:00
Jeong YunWon
6878200a45 Merge pull request #3145 from moreal/sync-module-doc-with-database
Sync some modules' doc with database
2021-09-29 01:17:00 +09:00
Moreal
dd5e55d861 Use Rust mod document first
See https://github.com/RustPython/RustPython/pull/3145\#discussion_r716219438
2021-09-28 21:14:28 +09:00
Dean Li
3af3b1f0d9 OSError with filename and filename2
Implement OSError members `filename` and `filename2` by adding a new
struct `IOErrorWithFilename` will implement `IntoPyException`.

This PR will *NOT* pass more CPython test(*) but will allow user to
access `attr:filename` in OSError exception which IMO is a important
feacture.
2021-09-28 20:08:57 +08:00
afpro
a65ef3e49c android SSL support system certs 2021-09-28 17:15:11 +08:00
Jeong YunWon
4558f76230 Merge pull request #3160 from youknowone/test-exc-slots
remove exception_slots
2021-09-28 17:34:26 +09:00
Jeong YunWon
dad7fae8ac remove create_exception_type 2021-09-28 16:45:07 +09:00
Jeong YunWon
ba5ce91a15 remove exception_slots 2021-09-28 16:38:58 +09:00
Jeong YunWon
08955cddd1 Merge pull request #3155 from youknowone/ascii
vm::utils::ascii! -> common::ascii!
2021-09-28 16:35:49 +09:00
Jeong YunWon
44f7bc468a vm::utils::ascii! -> common::ascii! 2021-09-28 15:47:54 +09:00
Jeong YunWon
c6edbc492f Merge pull request #3157 from DimitrisJim/whats_left
Fix what's left issue
2021-09-28 12:52:27 +09:00