Commit Graph

1012 Commits

Author SHA1 Message Date
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
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
Noah
4f64afb8cf Add ctx.load_verify_locations(cadata=), and ctx.get_ca_certs 2020-03-27 15:24:09 -05:00
Noah
12c57ce135 Add ssl.RAND_* functions 2020-03-27 15:24:08 -05:00
Noah
31905bd1ce Add OPENSSL_VERSION constants 2020-03-27 15:24:08 -05:00
Noah
588589865e Try a few things to make cert verification work 2020-03-27 15:24:08 -05:00
Noah
bea6e54a37 Make ssl work on windows 2020-03-27 15:24:08 -05:00
Noah
03ba022258 Don't use the matches!() macro 2020-03-27 15:24:08 -05:00
Noah
40835b19e6 Add _ssl stdlib module 2020-03-27 14:40:20 -05:00
Noah
a42e94b44f Add socket.getsockopt, impl io::{Read,Write} for PySocketRef 2020-03-27 14:40:20 -05:00
Noah
44bd11fd49 Merge pull request #1822 from palaviv/glob
Add glob module
2020-03-21 09:37:48 -05:00
Aviv Palivoda
d93e4eaf4e Change OutputMode to camel case 2020-03-21 10:11:44 +02:00
Noah
457602d5f1 Merge pull request #1819 from RustPython/coolreader18/only-gh-actions
Remove Travis and Azure CI
2020-03-20 14:39:56 -05:00
Aviv Palivoda
a90157c1b7 Support bytes in os.listdir 2020-03-20 17:33:02 +02:00
Aviv Palivoda
d95c10c023 Support bytes in stat 2020-03-20 17:24:24 +02:00
Aviv Palivoda
e53f53dfc0 Add PyPathLike 2020-03-20 17:02:19 +02:00
Aviv Palivoda
4f88b07d18 Support bytes as scandir path 2020-03-20 16:40:02 +02:00
Noah
56eb656fdd Allow compilation on Redox 2020-03-15 13:48:43 -05:00
Aviv Palivoda
efb6f6a64c Implement pascal string packing 2020-03-14 17:07:38 +02:00
Aviv Palivoda
7925932459 bool packing check __bool__ 2020-03-14 16:33:13 +02:00
Aviv Palivoda
bbb799f2c7 Resize pack_string with padding 2020-03-14 16:25:02 +02:00
Aviv Palivoda
395fd6bfbe Integer packing check __index__ 2020-03-14 12:30:41 +02:00
Aviv Palivoda
1fd1c19cdf Merge pull request #1797 from RustPython/coolreader18/stdlib-msvcrt
Add the msvcrt stdlib module
2020-03-13 12:44:29 +02:00
Jeong YunWon
7bb8998b8e Fix subprocess.wait to take None as a timeout argument 2020-03-13 08:24:53 +09:00
Noah
3d07a73346 Fix clippy failure on Rust 1.42.0 2020-03-12 17:42:37 -05:00
Noah
159d4e28c7 Move the mt19937 algorithm into its own crate 2020-03-12 07:31:46 -05:00
Noah
2fb1e85afd Add the msvcrt stdlib module 2020-03-08 22:47:54 -05:00
Jeong YunWon
3c96442068 Fix array insert, Add array setitem 2020-03-08 12:59:23 +09:00
Jeong YunWon
a08b4568e2 Merge pull request #1783 from youknowone/int-bytes
bytearray/memoryview/array support for int()
2020-03-08 12:27:18 +09:00
Aviv Palivoda
0c00afb6f5 Merge pull request #1786 from palaviv/more-tests
Add more CPython tests
2020-03-07 10:04:37 +02:00
Noah
9802324c2a Merge pull request #1795 from RustPython/coolreader18/android-socket-libc-constants
Use libc for android socket constants
2020-03-06 07:47:52 -06:00
Aviv Palivoda
83386fda25 Set errno on os.listdir 2020-03-06 10:46:29 +02:00
Noah
dffdef4c85 Merge pull request #1792 from youknowone/struct
Fix struct module and add test from unittest
2020-03-05 23:17:56 -06:00
Jeong YunWon
1c6808748e Fix struct pack and unpack 2020-03-04 11:42:17 +09:00
coolreader18
791050bb95 Use libc for android socket constants 2020-03-03 15:13:21 -06:00
Noah
eec333399f Add more winreg constants 2020-03-03 11:32:00 -06:00
Noah
2f617feb10 Convert registry values to Python values 2020-03-03 11:22:58 -06:00
Jeong YunWon
197ef9cdec Fix struct.calcsize to take bytes argument 2020-03-03 19:00:56 +09:00
Noah
65ed30b2ab Add winreg module 2020-03-02 10:54:35 -06:00
Noah
d3343b6de4 Add vm.new_runtime_error 2020-02-29 12:02:36 -06:00
Noah
6b580c5921 Get regrtests working on Windows 2020-02-29 10:34:12 -06:00
Noah
a70294de3b Map 0,1,2 to io::{stdin,stdout,stderr}'s Windows handle 2020-02-29 10:33:21 -06:00