Commit Graph

782 Commits

Author SHA1 Message Date
Aviv Palivoda
1e7fb388d2 Revert os.close drop call 2019-10-15 22:31:29 +03:00
Aviv Palivoda
1ad9ee8792 Simplify os.close 2019-10-15 21:38:28 +03:00
Aviv Palivoda
a435bb1f81 Change os.error to new arg style 2019-10-15 18:21:46 +03:00
Aviv Palivoda
9d5cdf23b3 Change os.close to new arg style 2019-10-15 18:16:38 +03:00
Windel Bouwman
2205fec2ff Merge pull request #1524 from dan-fritchman/1175-extend-os
Add os.system
2019-10-14 20:15:28 +02:00
Dan Fritchman
2df54f3a10 Re-order os module exports 2019-10-14 18:00:38 +02:00
Dan Fritchman
899f6e78e5 Pre-underscore os.system _vm 2019-10-14 17:57:55 +02:00
Dan Fritchman
e94f3f372d Add os.system 2019-10-13 15:45:17 +02:00
kluid
958e9abb57 Add some csv.reader kwarg options
'delimiter' and 'quotechar'
2019-10-13 17:18:17 +09:00
Windel Bouwman
336364c80d Merge pull request #1318 from youknowone/ast-module
ast module
2019-10-12 12:51:26 +02:00
Jeong YunWon
2f1fb16da1 Add mode to ast::parse 2019-10-12 18:12:36 +09:00
Jeong YunWon
16c3c78b69 introduce and adapt vm.identical_or_equal to test is or else __eq__ 2019-10-12 17:53:26 +09:00
Jeong YunWon
7333fd13b5 Lib/ast.py 2019-10-12 14:57:50 +09:00
coolreader18
be274ec39e Fill in _os.environ with the correct types of strings 2019-10-11 15:47:29 -05:00
coolreader18
8620d2307a Add some missing parts of subprocess 2019-10-11 15:47:29 -05:00
coolreader18
06a9f0b139 Add front-end python version of subprocess 2019-10-11 15:47:29 -05:00
coolreader18
277ebb240f Add iteration to collections.deque 2019-10-11 15:47:29 -05:00
Windel Bouwman
8462e7bc2d Merge pull request #1506 from youknowone/refactoring
Refactor function signatures
2019-10-11 17:35:24 +02:00
Noah
53fe356cd5 Merge pull request #1511 from youknowone/pyresult
Result<T, PyObjectRef> -> PyResult<T>
2019-10-11 08:36:25 -05:00
Jeong YunWon
cb2a994b46 Result<T, PyObjectRef> -> PyResult<T> 2019-10-11 18:09:55 +09:00
Chris West (Faux)
9213c99da9 upgrade direct use of rand 2019-10-10 20:50:09 +01:00
Jeong YunWon
6c0f852b62 Refactor pymethod return types to be smaller as possible 2019-10-11 03:27:23 +09:00
Jeong YunWon
1fc5dcb5bf Result<T, PyObjectRef> -> PyResult<T> 2019-10-11 02:59:47 +09:00
Windel Bouwman
161f1d4c98 Merge pull request #1491 from RustPython/bytecode-compression
Compress bytecode using LZ4
2019-10-10 08:04:21 +02:00
Windel Bouwman
6f9aeb03de Merge pull request #1494 from kluid/mod_csv
Added csv module
2019-10-09 12:10:22 +02:00
kluid
6f7d76f74b Added _csv module and implemented reader function. 2019-10-09 12:29:35 +09:00
Windel Bouwman
d3ff1c6c2d Merge pull request #1485 from ChJR/feature/sys.version
Change format of sys.version
2019-10-08 20:24:09 +02:00
Syrus
7495fc68ae Added support for WASI 2019-10-07 12:30:48 -07:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
Windel Bouwman
ad8a182a4c Merge pull request #1483 from ChJR/hotfix/SystemExit
Change something related to exit
2019-10-07 19:58:15 +02:00
Windel Bouwman
549c95c83f Merge pull request #1344 from youknowone/thread-timeout
_thread.TIMEOUT_MAX
2019-10-06 14:06:41 +02:00
lazylife7157
725d153937 Add type constraints to memoryview constructor 2019-10-07 02:27:12 +09:00
ChJR
85f51e55f9 Change build info format 2019-10-06 17:36:05 +09:00
ChJR
0b60b6f5d5 Add os.EX_* constants 2019-10-06 17:01:13 +09:00
ChJR
8698b00dc5 Add os._exit() method 2019-10-06 17:01:13 +09:00
Jeong YunWon
035c51b360 _thread.TIMEOUT_MAX 2019-10-04 21:03:00 +09:00
Windel Bouwman
faee9e3652 Merge pull request #1458 from j30ng/itertools-tee
Implement itertools.tee
2019-10-04 10:53:25 +02:00
j30ng
0b7da12463 Fix Bug in tee.__next__ + Add Test 2019-10-04 16:11:43 +09:00
j30ng
5351b7d98d Use Rc::clone(&rc) instead of rc.clone() 2019-10-04 04:03:34 +09:00
j30ng
301e5a99ed Implement built-in itertools.tee 2019-10-04 02:59:46 +09:00
coolreader18
8746f29d3b Fix sre_compile._bytes_to_code 2019-10-02 22:09:31 -05:00
Noah
8612ccc151 Rename re with the Rust regex crate to regex_crate 2019-10-02 20:11:48 +00:00
Noah
36a4e107d7 Merge pull request #1414 from RustPython/coolreader18/enum-module
Fix weirdness with type.__new__()/type()/metaclass.__new__() in order to support enum
2019-10-01 07:26:31 -05:00
Aviv Palivoda
da17726a90 Merge pull request #1380 from mpajkowski/os_scandir_contextmanager
os.scandir refinement
2019-09-30 23:53:33 +03:00
Noah
d22cac2dd8 Rename new slots to tp_new 2019-09-29 23:14:37 -05:00
Noah
2bb04f4836 Don't try to put __new__ on every type 2019-09-29 23:14:37 -05:00
coolreader18
b581975ef6 Fix clippy lints 2019-09-29 23:14:36 -05:00
coolreader18
c46b5b50bd Fix weirdness with type.__new__()/type()/metaclass.__new__() 2019-09-29 23:14:31 -05:00
j30ng
b056044b5a Fix CI Build in Rust 1.38.0 2019-09-28 03:24:47 +09:00
Daniel Alley
a964f216c4 Fix clippy warnings 2019-09-26 17:45:36 -04:00