Noah
696aa99b80
Apply review comments
2021-04-21 20:44:18 -05:00
Noah
666383633f
Add signal.set_wakeup_fd and signal.siginterrupt
2021-04-21 20:09:51 -05:00
Noah
6e60bda0e0
Add the fcntl module
2021-04-21 20:09:50 -05:00
Noah
0fcaaa62d9
os.error is OSError
2021-04-21 20:09:50 -05:00
Noah
b4827a8d22
Use Cow<str> for key in stdlib_inits, remove use of hashmap macro
2021-04-21 20:09:50 -05:00
Noah
57259b00ac
Add the resource module
2021-04-21 20:09:50 -05:00
Noah
2a70fb2eed
Improve structsequence
2021-04-21 20:09:50 -05:00
Robert Booth
cc2382b9b9
inline code from and remove save_unconsumed_input method
2021-04-22 07:14:18 +09:00
Robert Booth
ae815839e8
Change Rust zlib compression code for zlib tests
...
- decompress method: Amend error message
- Pass data chunks on a per-slice basis to compression API
2021-04-21 23:21:57 +09:00
Noah
631e17a630
Merge pull request #2576 from qingshi163/sreupdate
...
fix sre zerowidth search
2021-04-20 10:13:50 -05:00
Kangzhi Shi
7ab4e9573c
fix sre zerowidth search
2021-04-20 10:21:16 +02:00
Noah
dc22d08d29
Merge pull request #2573 from qingshi163/sre-pattern-repr
...
impl Pattern __repr__
2021-04-19 08:24:31 -05:00
Kangzhi Shi
7085fed82c
impl Pattern __repr__
2021-04-19 09:15:17 +02:00
Noah
8d5588df67
Merge pull request #2532 from Pluriscient/documentation/common-start
...
Documentation of VM & Bytecode
2021-04-18 15:12:29 -05:00
Dean Li
6fefadeb39
os: Fix unused warning and propagate errno to user
2021-04-18 10:17:25 +08:00
Dean Li
f8ee3d7434
os: copy_file_range only support linux
2021-04-17 21:36:22 +08:00
Dean Li
fe5b9016f5
os: Implement copy_file_range
...
Use `libc::copy_file_range`
Related to #1175
2021-04-17 19:17:57 +08:00
Noah
1de85a65b7
Merge pull request #2556 from qingshi163/arrayfrombytes
...
fix array from bytes
2021-04-16 12:16:09 -05:00
Noah
0e8a0b29d7
Merge pull request #2555 from deantvv/os-getloadavg
...
os: add getloadavg
2021-04-16 12:14:32 -05:00
Dean Li
e40f306b47
os: add getloadavg
2021-04-16 22:58:10 +08:00
Kangzhi Shi
8522d120e5
fix array from bytes
2021-04-16 09:17:13 +02:00
Padraic Fanning
e2aca3e7a5
Sort keywords in kwlist
2021-04-15 17:03:19 -04:00
Noah
971774bafb
Merge pull request #2554 from fanninpm/test-index
...
Add test_index from CPython 3.8.7
2021-04-15 11:46:19 -05:00
Padraic Fanning
4cf4eb83a1
Add index function to operator module
2021-04-14 21:00:45 -04:00
Noah
088ea8af12
Add --install-pip cli option, tidy up src/lib.rs
2021-04-14 15:16:45 -05: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
Jeong YunWon
cd1d43e637
Merge pull request #2542 from RustPython/sre-cratesio
...
Switch to sre-engine from crates.io
2021-04-15 02:53:37 +09:00
Noah
f892b06c3e
Switch to sre-engine from crates.io
2021-04-13 10:40:15 -05:00
Noah
9d7021c4ff
Merge pull request #2548 from deantvv/os-symlink
...
Fix os.symlink 3rd argument
2021-04-12 09:06:26 -05:00
Dean Li
ac93edbee7
os: fix symlink signature to python doc
...
From python doc,
`os.symlink(src, dst, target_is_directory=False, *, dir_fd=None)`
which means that `target_is_directory` is both a positional and keyword argument.
2021-04-12 06:43:51 +08:00
Noah
3c3801bbe4
Improve defaultdict some more
2021-04-11 17:38:44 -05:00
Noah
fd587bd5fe
Standardize panicking within frame
2021-04-11 17:38:44 -05:00
Noah
21e6910e1d
Misc wrong behavior for function props, module.__init__, type.getattro
2021-04-11 17:38:44 -05:00
Noah
4129f0c5c0
Fix async for compilation
2021-04-11 17:38:44 -05:00
Noah
235074faf2
Fully implement SNI in _ssl
2021-04-11 17:38:44 -05:00
Noah
3db00be5f3
Add termios module
2021-04-11 17:38:44 -05:00
Noah
c2345698ba
Add fileno() to IOBase
2021-04-11 17:38:44 -05:00
Noah
89ef71a83a
Fix tab completion for classes
2021-04-11 17:38:44 -05:00
Noah
044f9c1a99
Add line_buffering arg to TextIOWrapper
2021-04-11 17:38:44 -05:00
Noah
0056cbc880
Remove builtin tokenize
2021-04-11 17:38:44 -05:00
Noah
97f2da7778
Don't panic on invalid utf8 compile(), add __get__/__delete__ to getset/property
2021-04-11 17:38:43 -05:00
Noah
730f37c91a
Fix path_from_fd
2021-04-11 13:21:16 -05:00
Noah
8d68e17680
Merge pull request #2541 from RustPython/coolreader18/try-microbenchmarks-again
...
Optimize(?) microbenchmarks some more
2021-04-09 14:07:24 -05:00
Noah
f9555fd75d
Fix getrandbits for k>32
2021-04-07 10:52:40 -05:00
Dean Li
b065c059d2
os: Don't consume File in path_from_fd
2021-04-07 22:40:06 +08:00
Eric van der Toorn
5a743d5ae2
undo CLion formatting
2021-04-06 16:22:11 +02:00
Eric van der Toorn
91e4dd0ae4
add initial example to interpreter
2021-04-06 16:20:44 +02:00
Noah
e6b5219393
Fix remaining test_random overflows
2021-04-05 23:15:25 -05:00
Dean Li
5dae7aacda
Remove vm in path_from_fd
2021-04-05 11:13:39 +08:00
Dean Li
84e1cf87ab
Extract path_from_fd from make_path and listdir
2021-04-05 10:09:12 +08:00