Commit Graph

1052 Commits

Author SHA1 Message Date
Noah
10c63dacbd Add _io.open_code 2020-05-03 16:09:25 -05:00
Noah
fbf7a978b4 Merge pull request #1894 from RustPython/coolreader18/zlib-decompressobj
Add zlib.decompressobj()
2020-05-03 16:09:08 -05:00
Jeong YunWon
5b52bb8537 Merge pull request #1896 from mrmiywj/add_umask_support
Add umask support
2020-05-03 23:10:24 +09:00
mrmiywj
b286e5d4dd format 2020-05-02 23:11:11 -07:00
mrmiywj
fd0232d685 add umask support in os 2020-05-02 23:10:42 -07:00
Noah
130840c91c Add getters to zlib.Decompressor 2020-05-01 14:14:51 -05:00
Noah
aafbdd06b2 Allow struct.unpack to take a bytes 2020-04-29 11:58:19 -05:00
Noah
fca831480f Add seek/tell to some io classes 2020-04-29 11:58:19 -05:00
Noah
5ce321b647 Add zlib.decompressobj() 2020-04-29 11:58:16 -05:00
Aviv Palivoda
832bff1cea Merge pull request #1895 from mrmiywj/remove_arg_check_in_thrading
remove arg_check macro in thread mod
2020-04-29 11:21:46 +03:00
Wenjie Yang
b81773d1d4 remove arg_check macro in thread mod 2020-04-28 23:45:36 -07:00
Jeong YunWon
6d43dc27d5 Merge pull request #1893 from mrmiywj/remove_arg_check
Remove arg_check! in tokenize
2020-04-29 14:31:49 +09:00
Wenjie Yang
6d5f4bdb11 Remove arg_check! in tokenize 2020-04-28 21:18:40 -07:00
Toan Phan
6266081d9a Add os.setreuid and os.setresuid methods 2020-04-28 13:35:57 +09:00
Jeong YunWon
016d68c819 pymodule itertools 2020-04-27 01:07:36 +09:00
Jeong YunWon
2d50cfa022 Add itertools class names 2020-04-27 00:17:36 +09:00
Jeong YunWon
7c8c049031 pymodule platform 2020-04-27 00:11:51 +09:00
Jeong YunWon
9c272831be pymodule binascii 2020-04-27 00:11:51 +09:00
Jeong YunWon
0004fa3b80 pymodule _collections 2020-04-27 00:11:51 +09:00
Jeong YunWon
fe0b854995 pymodule for _random 2020-04-27 00:11:51 +09:00
Jeong YunWon
06f8d0bb98 pyclass member support for #[pymodule] 2020-04-27 00:11:51 +09:00
Jeong YunWon
7cea2c3953 use #[pymodule] for stdlib struct 2020-04-27 00:11:51 +09:00
Jeong YunWon
9b3fa53f88 Merge pull request #1843 from RustPython/coolreader18/clippy-fixes
Fix some clippy lints that were previously 'allow'ed
2020-04-27 00:10:01 +09:00
Jeong YunWon
ce2d9d8d7c Fix build warnings for Rust 1.43.0 2020-04-25 04:14:36 +09:00
Aviv Palivoda
f60b07aa1a Merge pull request #1840 from palaviv/pathlib
Add Pathlib
2020-04-18 18:09:04 +03:00
Aviv Palivoda
43e2504233 Simplify os.fspath 2020-04-18 17:01:13 +03:00
Aviv Palivoda
d8585940ff Fix os.stat on Windows 2020-04-18 17:01:13 +03:00
Aviv Palivoda
4c58bcc043 Convert PyPathLike path to OsString 2020-04-18 17:01:13 +03:00
Aviv Palivoda
fdf27bf6a4 Convert os methods to support path-like objects 2020-04-18 17:01:13 +03:00
Aviv Palivoda
e5e0f5cbf3 Support __fspath__ in PyPathLike 2020-04-18 17:01:13 +03:00
Aviv Palivoda
cc8d853c63 Add stub os.utime 2020-04-18 17:01:13 +03:00
Aviv Palivoda
caf894a462 Add os.link 2020-04-18 17:01:13 +03:00
Noah
9a6509dd6a Enable the os and io modules on wasi 2020-04-16 15:26:22 -05:00
Noah
8276803cac Merge pull request #1869 from RustPython/coolreader18/unicode-name-escape
Remove unnecessary unic dependencies and add `\N{}` unicode name escapes
2020-04-15 22:32:56 -05:00
Noah
942a7d612c Fix os.lseek on Windows 2020-04-14 14:59:54 -05:00
Noah
a529fdbc6e Fix os.set_inheritable on windows 2020-04-14 14:59:48 -05:00
Noah
000ec722f8 Allow dummy faulthandler functions to accept kwargs 2020-04-14 14:41:14 -05:00
Noah
71e8c5e56e Add msvcrt.setmode 2020-04-14 14:41:14 -05:00
Noah
8c13eeaf21 Specify individual unic dependencies 2020-04-14 13:03:54 -05:00
Noah
984fcdc589 Fix openssl certificates not being found when openssl is vendored 2020-04-12 23:18:05 -05:00
Noah
d6206bddaf Update cargo dependencies; use new bindings in openssl 2020-04-12 11:15:05 -05:00
Noah
2368eae9c7 Make Frame Send + Sync using a mutex 2020-04-11 15:16:51 -05:00
Noah
0ebb7debad Make PyObjectRef = Arc<...> 2020-04-11 15:16:50 -05:00
Aviv Palivoda
c8f4a91e3a Make PyHasher ThreadSafe 2020-04-11 15:39:59 +03:00
Aviv Palivoda
094fc9d8a8 Make PyArray ThreadSafe 2020-04-11 15:39:59 +03:00
Noah
5e58b05a93 Fix subprocess.call 2020-04-08 12:16:19 -05:00
Noah
7ab9a641bc Remove the serde_json based json module, update tests 2020-04-08 12:16:19 -05:00
Noah
d4bda6c02e Fix some clippy lints that were 'allow'ed 2020-04-05 14:55:51 -05:00
Noah
7051b25d2a Manually error on embedded nul for set_ciphers 2020-03-31 22:40:42 -05:00
Noah
4fc45d2569 Add _SSLSocket.peer_certificate 2020-03-27 15:24:09 -05:00