Commit Graph

43 Commits

Author SHA1 Message Date
Noah
76f7d7e2c3 Add inspect.CO_ASYNC_GENERATOR constant 2020-05-05 12:22:19 -05:00
Kienyew
e3353aac4e Fix typo 2020-04-30 12:57:26 +08:00
Noah
f5de59a4bd Merge pull request #1834 from RustPython/coolreader18/jsontests
Add json output for CPython tests
2020-04-04 11:52:04 -05:00
Noah
f33e2d3b39 Remove incognito from vm 2020-04-03 12:34:00 -05:00
Noah
be565d30ae Make incognito a CodeFlag bit 2020-04-03 12:34:00 -05:00
Noah
80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
Noah
6553bf72d4 Move varargs information into CodeFlags 2020-04-02 09:02:18 -05:00
Noah
eecb097ae6 Make bytecode::Location Copy 2020-03-13 21:49:10 -05:00
Jeong YunWon
aa1d20c388 positional only parameter support 2020-03-08 00:13:13 +09:00
Aviv Palivoda
c3703f08d7 Support expression in f-strings spec 2019-12-27 10:19:07 +02:00
coolreader18
bed54e035c Add some constants to native modules 2019-11-16 22:58:51 -06:00
coolreader18
6bc33fbca2 Add async for 2019-11-07 00:04:51 -06:00
coolreader18
5c26a25522 Add async with, reorganize how with blocks work 2019-11-07 00:04:51 -06:00
coolreader18
577cea92fe Add coroutines, async/await functionality, and gen.close() 2019-11-07 00:04:50 -06:00
Noah
64674d2d85 Fix clippy parameter number warning 2019-10-14 20:55:00 +00:00
coolreader18
c08f11ad1b Change FunctionOpArg to CodeFlags, stored in CodeObject 2019-10-14 20:20:52 +00:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
Seo Sanghyeon
a17456dba5 Raise TypeError for duplicate keyword arguments 2019-10-04 19:29:57 +09:00
coolreader18
d0f7b5f347 Invert the inverted boolean 2019-09-28 00:41:41 -05:00
Noah
499bf146bd Only overwrite the locals in __build_class__ if it's a class 2019-09-28 00:41:41 -05:00
Noah
d88167bb73 Bump crate versions 2019-09-25 11:57:38 -05:00
j30ng
a5bea47bed Remove Enum Instruction::Unpack 2019-09-12 16:30:03 +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
Noah
c52328608e Make bytecode::Label its own struct 2019-08-27 21:19:18 +00: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
eb3771ebff Add Free enum variant to the symbol scope to be able to distuingish between true local and free variables. 2019-08-18 12:12:27 +02:00
coolreader18
fe84f25fad Fix weirdness with import submodules 2019-08-15 15:30:14 -05:00
coolreader18
e67fc38c7e Add CodeObject::display_expand_codeobjects 2019-08-13 12:35:08 -05:00
Windel Bouwman
36d8147e8e Improve the situation regarding boolean operations. 2019-08-11 20:20:15 +02:00
coolreader18
772460ea7f Add tuple unpacking optimization 2019-08-04 01:22:51 -05:00
coolreader18
a72ef1e365 Add frozen package support 2019-07-27 14:27:29 -05:00
Windel Bouwman
ce1523c142 Fix panic on import statement with levels but no module name. 2019-07-19 17:31:57 +02:00
Windel Bouwman
0741c36bb8 Simplify import AST in line with CPython. 2019-07-15 21:00:28 +02:00
coolreader18
0893076643 Add #![doc(html_logo_url = ...)] to crates 2019-07-08 23:57:18 -05:00
Windel Bouwman
cc24b73031 Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Windel Bouwman
6a58b76ef7 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
f816a50110 Change get_row() into row() 2019-06-30 20:23:01 +02:00
Windel Bouwman
e40c844be7 Make bytecode crate independent of parser crate. 2019-06-30 11:42:36 +02:00
Windel Bouwman
183415e64b Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
Windel Bouwman
8470254f07 Move last compiler / vm pieces out of parser crate 2018-07-07 17:44:30 +02:00
Windel Bouwman
377795dbec Shuffle files in proper places 2018-07-07 17:14:45 +02:00