Commit Graph

249 Commits

Author SHA1 Message Date
Jeong YunWon
fb25a15f2c split rustpython-stdlib crate 2021-10-01 01:54:04 +09:00
Jeong YunWon
795738d32b ascii! macro 2021-09-21 18:14:42 +09:00
Noa
61749bf4cf Remove unnecessary redox patches 2021-09-11 15:48:22 -05:00
Noa
34b91e7cad Update rustyline to 9.0 2021-09-10 10:28:23 -05:00
Padraic Fanning
f833ba6ed3 Update num_bigint to 0.4.2
Fixes a compilation error with the latest nightlies.
2021-09-03 18:53:23 -04:00
Noa
811111ba59 Merge branch 'fix-redox-repl' into exotic-targets-ci 2021-08-11 18:46:09 -05:00
Noah
94eb264c92 Fix rustyline on redox 2021-08-11 18:45:57 -05:00
Dean Li
e01995d07f socket: use libc::hstrerror 2021-08-10 20:31:39 +08:00
Noah
4de16f6955 Remove derive_more dep 2021-07-31 10:49:39 -05:00
Noah
b05c0e27f6 Upgrade dependencies for redox 2021-07-31 10:18:00 -05:00
Yossi Konstantinovsky
d382009a5f add initial pyexpat implementation 2021-07-20 14:36:02 +03:00
Noah
c14e7b074d Merge pull request #2699 from RustPython/coolreader18/if-socket-funcs
Add test_socket
2021-07-14 11:51:44 -05:00
Dean Li
d044d8ab61 os: Implement (f)pathconf
Implement pathconf and fpathconf using libc::pathconf.

os.pathconf_names is not implemented.
2021-06-13 21:43:33 +08:00
Noah
c7f6838638 Add if_nameindex, if_nametoindex, if_indextoname, getservbyport + fix some other stuff 2021-06-10 20:54:48 -05:00
Noah
d1a4812d3f Implement _codecs.utf_8_decode in rust 2021-05-20 20:36:04 -05:00
Noah
855925ef56 Fix errors and (some) warnings on redox 2021-05-16 00:09:38 -05:00
Noah
d3f7fa7f79 Pull rustpython-pylib into sys.path by default 2021-05-13 19:46:17 -05:00
Jeong YunWon
53e2f5f48a module _scproxy 2021-05-13 03:03:21 +09:00
Noah
f858d76433 Merge pull request #2621 from RustPython/coolreader18/socketstuff
Add a bunch of stuff to the socket module
2021-05-11 08:08:41 -05:00
Noah
e9b55686f4 Add os.[sg]et_handle_inheritable 2021-05-11 00:07:11 -05:00
Noah
d22ada23c2 Improve the openssl vendoring situation 2021-05-10 14:09:06 -05:00
Noah
6b55c8d44f Fix(?) windows errnos 2021-05-04 11:31:09 -05:00
Noah
e9984c3829 Add a bunch of stuff to the socket module 2021-05-03 12:26:54 -05:00
Noah
d969299de5 Always have fds represent the C RT's fds, even on windows 2021-04-27 08:15:12 -05:00
Noah
8ae26e545f Don't depend on num-iter 2021-04-25 18:03:29 -05:00
Noah
325007f6f3 Don't include regex in the binary, remove regex_crate module 2021-04-22 08:31:27 -05:00
Noah
9aab312dae Remove serde_json python module 2021-04-22 08:08:19 -05:00
Noah
78c5048940 Gate foreign-types-shared under ssl feature 2021-04-22 08:06:10 -05:00
Kangzhi Shi
7ab4e9573c fix sre zerowidth search 2021-04-20 10:21:16 +02:00
Noah
763c18d8aa Merge pull request #2544 from RustPython/coolreader18/misc-fixes
Misc fixes related to IPython
2021-04-14 15:14:54 -05:00
Noah
f892b06c3e Switch to sre-engine from crates.io 2021-04-13 10:40:15 -05:00
Noah
3db00be5f3 Add termios module 2021-04-11 17:38:44 -05:00
Noah
25ecd7c38b Upgrade dependencies 2021-03-25 08:06:56 -05:00
Noah
163cd19533 Merge pull request #2519 from TheOnlyError/2406-parse-multiple-lines-REPL
2406 parse multiple lines REPL
2021-03-25 08:04:07 -05:00
Noah
cba3a2530e Merge pull request #2515 from deantvv/os-enhancement
Implement dir_fd in os.open
2021-03-19 21:49:17 -05:00
Dean Li
9963bf9fe4 Move filepath behind feature gate 2021-03-20 09:11:14 +08:00
Eric van der Toorn
29a69b8958 update rustyline 2021-03-16 12:45:06 +01:00
Noah
d11cfd52e7 Enable zlib on wasm 2021-03-14 12:49:15 -05:00
Dean Li
9e6a7ae1a1 Exclude trait FilePath for wasi 2021-03-13 14:10:57 +08:00
Dean Li
ead42f2903 Implement dir_fd in os.open
Now pass `test_posix.py PosixTester.test_open_dir_fd`

Implement `dir_fd` in
`make_path` and `os.open(path, flags, mode=0o777, *, dir_fd=None)`
2021-03-13 11:23:18 +08:00
Noah
9c6eea6aa0 Fix os.utime to be able to take floats 2021-02-08 12:36:54 -06:00
Noah
4a26d13481 Fix do_handshake method 2021-02-07 19:39:36 -06:00
Noah
aa238de4a9 Support newlines in the middle of base64 2021-02-07 19:39:36 -06:00
Noah
6d371cea8a Merge pull request #2409 from RustPython/coolreader18/fix-http
Fix BufferedReader over a SocketIO to properly read the right amount
2021-02-03 11:29:01 -06:00
Noah
f613995198 zlib gzip wbits 2021-01-29 11:47:07 -06:00
Noah
6c30bc10bc Extract the sre interpreter into a separate repo 2021-01-29 10:18:20 -06:00
Noah
36f525732e Use the which crate to figure out sys.executable 2021-01-29 00:46:17 -06:00
Noah
e74e1958c4 Switch to csv-core for the _csv module 2021-01-25 15:11:24 -06:00
Noah
cd9f6806c3 Implement obj->ast functionality of the ast module 2021-01-14 12:37:37 -06:00
Noah
9647fce6d5 Add some more socket methods + other misc fixes 2021-01-11 17:32:29 -06:00