Commit Graph

3916 Commits

Author SHA1 Message Date
Aviv Palivoda
3d61129cfd Delay from_list tuple create in import 2019-08-31 11:31:59 +03:00
Windel Bouwman
39f54aa592 Merge pull request #1324 from RustPython/subscript-bytecode
Make subscript its own bytecode.
2019-08-28 19:14:41 +02:00
Windel Bouwman
78e9f01ad0 Merge pull request #1323 from corona10/dropwhile
itertools.dropwhile: Implement itertools.dropwhile
2019-08-28 13:19:59 +02:00
Dong-hee Na
44ceaa8dac itertools: Apply codereview 2019-08-28 19:13:11 +09:00
Dong-hee Na
e1854cec25 itertools.dropwhile: Implement itertools.dropwhile 2019-08-28 19:13:11 +09:00
Windel Bouwman
2517207175 Make subscript its own bytecode. Remove pass bytecode. Move complex bytecodes into seperate functions to reduce complexity of dispatch function. 2019-08-28 12:06:46 +02:00
Windel Bouwman
e9820c1a7b Merge pull request #1322 from corona10/fileio_close_set
fileio: Update closefd, closed when close method is called
2019-08-28 11:22:40 +02:00
Dong-hee Na
1176eac168 filio: Update closefd, closed when close method is called 2019-08-28 10:41:13 +09:00
Noah
cfeb74681b Merge pull request #1320 from RustPython/coolreader18/label-struct
Make bytecode::Label its own struct
2019-08-27 17:32:41 -05:00
Noah
c52328608e Make bytecode::Label its own struct 2019-08-27 21:19:18 +00:00
Windel Bouwman
0d2a7fc4ec Merge pull request #1321 from RustPython/try-return-finally
Refactor block stack unwinding to enable finally execution.
2019-08-27 22:19:24 +02:00
Windel Bouwman
2ca6e5d399 Implement execution of finally block. Fixes #1306. 2019-08-27 21:16:59 +02:00
Windel Bouwman
86fc18ec6c Refactor block stack unwinding to enable finally execution. 2019-08-27 19:40:00 +02:00
Windel Bouwman
47ddc7cd71 Merge pull request #1311 from RustPython/coolreader18/syscall-settings
Allow time.time() to work on WASM
2019-08-27 08:01:08 +02:00
coolreader18
0df3ed5260 Fix redox print_prompt 2019-08-26 21:23:35 -05:00
coolreader18
2ec6eb7d71 Fix getgroups on android 2019-08-26 20:24:04 -05:00
Noah
c61f1d20ea Allow time.time() to work on WASM 2019-08-26 21:21:31 +00:00
Windel Bouwman
9168455b12 Merge pull request #1313 from RustPython/coolreader18/keyboardinterrupt
Raise a KeyboardInterrupt on a SIGINT
2019-08-26 21:48:34 +02:00
Noah
5da00de769 Make print_prompt() a fn 2019-08-26 13:24:23 -05:00
Windel Bouwman
c7566897ec Merge pull request #1315 from jmg7173/1224-not_implemented_pattern
#1224 not implemented pattern (for now)
2019-08-26 19:40:00 +02:00
Noah
59eb8e3e54 Merge pull request #1319 from RustPython/coolreader18/fix-redox
Update to work on Redox
2019-08-26 07:14:30 -05:00
MinGyo Jung
ee6450e3a7 issue-1224 Change to map_err instead of match 2019-08-26 14:47:46 +09:00
coolreader18
13d7d636b6 Process prompt correctly on redox 2019-08-25 23:27:47 -05:00
coolreader18
e61cbe7008 Update to work on Redox 2019-08-25 23:16:25 -05:00
Aviv Palivoda
2999d7069d Merge pull request #1309 from Lynskylate/extend-socket
Add settimeout and setblocking for socket module
2019-08-25 23:14:13 +03:00
coolreader18
0c14b9be06 Add flame attribute to check_signals 2019-08-25 13:29:48 -05:00
coolreader18
86535bbfbf Add ANY_TRIGGERED shortcut 2019-08-25 13:05:25 -05:00
coolreader18
6faf2637b4 Move NSIG, reorganize prompt stuff 2019-08-25 12:50:05 -05:00
lynskylate
936af5b9f8 Rename args 2019-08-26 01:44:56 +08:00
lynskylate
1e1248090e Fix clippy error 2019-08-26 01:08:12 +08:00
lynskylate
b4335dc049 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-26 01:07:53 +08:00
lynskylate
bd72869c34 Repalce OptionalArg to Option 2019-08-26 01:04:04 +08:00
Aviv Palivoda
124f16488c Merge pull request #1275 from zsaladin/json_dump
Modify `json.loads` for bytes and bytearray
2019-08-25 18:52:50 +03:00
lynskylate
d58abd3a66 Add timeout test 2019-08-25 22:31:21 +08:00
lynskylate
9677f77360 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-25 15:01:21 +08:00
lynskylate
a8c295936f Refactor code 2019-08-25 15:01:15 +08:00
Noah
5b555aecd1 Merge pull request #1304 from RustPython/coolreader18/arraymodule
Add the array module
2019-08-24 23:13:22 -05:00
coolreader18
c3f64a3025 Add array tests, array.__eq__, array.__iter__ 2019-08-24 22:28:17 -05:00
Windel Bouwman
6cbab13098 Merge pull request #1298 from RustPython/clippy-warnings
Fix clippy warnings. Add proper names to symboltables.
2019-08-24 12:12:19 +02:00
coolreader18
825ee4bc7c Fix tests/clippy 2019-08-23 17:52:38 -05:00
coolreader18
3a15121324 Add TODO 2019-08-23 17:34:56 -05:00
coolreader18
ab4aeece96 Add array.__getitem__ 2019-08-23 17:34:56 -05:00
coolreader18
dacd119d4a Fix str.[r]split 2019-08-23 17:34:56 -05:00
coolreader18
b8eba6abe3 Add the array module 2019-08-23 17:34:52 -05:00
coolreader18
0d492e7875 Raise a KeyboardInterrupt on a SIGINT 2019-08-23 16:57:39 -05:00
Windel Bouwman
89a97b66ad Merge pull request #1290 from mpajkowski/int_fix
Fix panics with int()
2019-08-23 17:12:33 +02:00
Windel Bouwman
bd293fad76 Merge pull request #1303 from youknowone/datetime
Datetime module
2019-08-23 16:53:10 +02:00
lynskylate
a0521bc986 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-22 22:22:03 +08:00
Noah
e0de5fc139 Merge pull request #1314 from youknowone/bool-real
bool.real
2019-08-22 09:13:43 -05:00
Jeong YunWon
0327428aa5 bool.real 2019-08-22 13:57:44 +09:00