Commit Graph

3847 Commits

Author SHA1 Message Date
Noah
6b6c4da511 Add pyarg(flatten) 2020-07-10 12:09:36 -05:00
Noah
e60a63d4fb Add some more methods to io classes 2020-07-10 12:09:32 -05:00
Noah
cd64884180 Implement os.get_terminal_size 2020-07-10 12:09:31 -05:00
Noah
1bc0f2b87f Merge pull request #1985 from Lynskylate/add-setup-annotations
Add annotation setup
2020-07-07 21:18:49 -05:00
Noah
cfc74cfcd3 Use dict.contains_key 2020-07-07 19:03:22 -05:00
Noah
28bda867dc Use dict.contains_key 2020-07-07 15:46:47 -05:00
Jeong YunWon
838abb8b76 Add collections.deque.__contains__ 2020-07-08 03:30:40 +09:00
lynskylate
a310f3c245 Add annotation setup 2020-07-08 01:06:12 +08:00
Noah
ebab829f60 Switch to using parking_lot::Mutex instead of std::sync::Mutex 2020-07-04 22:58:18 -05:00
Noah
7ac07fd902 Merge pull request #1974 from RustPython/coolreader18/pylib-crate
Add a separate crate to package the python stdlib source code with
2020-07-04 10:44:52 -05:00
Ben Lewis
58ae89969f Fix str.isspace to support unicode space characters. 2020-07-04 11:20:33 +12:00
Seo Jihyeok
555f749c74 Use OptionalArg for the builtin function bool 2020-06-30 01:39:26 +09:00
Seo Jihyeok
56bffd795b Remove remaining usages of arg_check!
Close #1714
2020-06-29 17:03:58 +09:00
Noah
11a6635c9c Merge pull request #1967 from youknowone/fix-dict-errmsg
Fix object.__dict__ error message
2020-06-26 11:16:21 -05:00
Noah
31c9947b90 Merge pull request #1962 from RustPython/coolreader18/subprocess-py
Implement subprocess using _posixsubprocess and _winapi
2020-06-26 10:07:29 -05:00
Noah
a9058f0a0c Add a separate crate to package the python stdlib source code with 2020-06-24 20:30:22 -05:00
Noah
e06641dbe1 Fix all the weird Windows bugs 2020-06-22 04:10:44 -05:00
Jeong YunWon
cae1d5f928 Fix object.__dict__ error message 2020-06-22 08:00:00 +09:00
Noah
a7131ee46b Add _sysconfigdata_* 2020-06-21 16:47:42 -05:00
Noah
260d6f2be3 Try to fix weird windows error? 2020-06-21 16:47:42 -05:00
Noah
1285a0eba5 Fix clippy warnings 2020-06-21 16:47:42 -05:00
Noah
06a4796711 Add msvcrt.open_osfhandle 2020-06-21 16:47:42 -05:00
Noah
791d171cd6 Remove the rust _subprocess module 2020-06-21 16:47:41 -05:00
Noah
1fa4a0edad Add _winapi functions for subprocess 2020-06-21 16:47:41 -05:00
Noah
325706d86c Add _posixsubprocess 2020-06-21 16:47:39 -05:00
Jeong YunWon
1b409f4b19 Fix last clippy error of 0.0.212 2020-06-22 05:51:11 +09:00
Noah
f40c3d4ab1 Fix thread.rs 2020-06-21 15:39:13 -05:00
Jeong YunWon
437a81996f Merge pull request #1970 from youknowone/sub-1962
non-subprocess stuff from #1962
2020-06-22 03:57:47 +09:00
Noah
ca7d9b625a Fix error with latest parking_lot version 2020-06-21 11:45:26 -05:00
Noah
ec1c9f9410 Add os.kill 2020-06-21 21:05:23 +09:00
Noah
26bcb1f6ab Add os.access on windows 2020-06-21 21:01:31 +09:00
Noah
d40533be5f Add os.wait[pid] and associated functions/constants 2020-06-21 20:53:45 +09:00
Noah
05a0202d43 Add os.posix_spawn[p] 2020-06-21 20:53:44 +09:00
Noah
490c638b4f Add size_hint() to PyIterator 2020-06-21 19:33:12 +09:00
Jeong YunWon
82a596bd21 Fix clippy warning 2020-06-21 00:05:02 +09:00
Noah
50770f5155 Merge pull request #1965 from volodg/master
make "frame" module public
2020-06-18 15:13:11 -05:00
TheAnyKey
a21c6fb8ee implementation of Py310 int.bit_count 2020-06-17 18:42:21 +09:00
gorbv
4cadc9db3c make "frame" module public 2020-06-14 21:00:55 +02:00
Aviv Palivoda
7a89a4bcfd Merge pull request #1961 from mrmiywj/support_setresgid_in_os_module
Support setresgid in os module
2020-06-12 09:17:06 +03:00
Noah
f284b4ca95 Merge pull request #1951 from TheAnyKey/TheAnyKey/p38_named_expression_completion
Fix scope issue for non-locals
2020-06-10 16:36:12 -05:00
mrmiywj
6a1d7a8d11 return None if setregid success 2020-06-10 00:56:21 -07:00
mrmiywj
f5a0bcc5de support setresgid in os module 2020-06-10 00:05:55 -07:00
Ivan.Yang
b03b8923f1 support setgroups in os module 2020-06-09 17:49:55 +09:00
Noah
2fc90e17ac Fix error messages for index overflows 2020-06-06 17:14:32 -05:00
Noah
806d4bdfd4 Refactor a lot of objsequence 2020-06-06 17:14:32 -05:00
Noah
b245712949 Fix some 32-bit only oom tests + others 2020-06-06 17:14:32 -05:00
Noah
3f9665370d Allow to compile for 32-bit targets 2020-06-06 17:14:32 -05:00
Noah
74f261a22c Fix Rust 1.44 clippy warnings 2020-06-06 15:37:47 -05:00
Noah
0fb79e1086 Implement _json.encode_basestring{,_ascii} 2020-06-06 15:33:29 -05:00
Noah
c2bbacf19a Add __name__ and __module__ fields to builtin functions 2020-06-03 16:19:28 -05:00