Noah
|
b7a73fdc0c
|
Capitalize boolean constants for dis
|
2020-10-30 14:05:53 -05:00 |
|
Noah
|
781931cd74
|
Use PyBool::static_type to figure out constants
|
2020-10-19 23:58:46 -05:00 |
|
Noah
|
b8ebd445f4
|
Clean up remove map_basic
|
2020-10-19 23:55:56 -05:00 |
|
Noah
|
df28c022e1
|
Use disassembly for snapshot testing
|
2020-10-19 23:55:56 -05:00 |
|
Noah
|
0b36b14a00
|
Remove optimization unit test
|
2020-10-19 23:55:56 -05:00 |
|
Noah
|
e44ea3f9a5
|
Fix wasm
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
a665edc421
|
Fix clippy lints
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
e74a8ec9fb
|
Fix mini_repl and make ctx.new_code_object() more ergonomic
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
3ebdeb79b3
|
Update rustpython_jit to work with codeobj.constants vec
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
5176864aa9
|
Update rustpython_vm to differentiate between bytecode::CodeObject and builtins::code::CodeObject
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
4c8fdc49c7
|
Update compiler to output codeobj.constants, use insta for snapshot testing
|
2020-10-19 23:55:55 -05:00 |
|
Noah
|
543c2a2256
|
Change CodeObject to be generic over the constant representation
|
2020-10-19 23:55:55 -05:00 |
|
Jeong YunWon
|
2ebec89d9f
|
Merge pull request #2238 from youknowone/static-type
Trait for static type
|
2020-10-20 12:33:45 +09:00 |
|
Jeong YunWon
|
0c505f9893
|
sys.windowsversion is now static type, no need to be owned somewhere
|
2020-10-20 02:29:35 +09:00 |
|
Jeong YunWon
|
57bf7afdd9
|
every PyStructSequence is StaticType
|
2020-10-20 02:29:33 +09:00 |
|
Jeong YunWon
|
3b78c6068b
|
vm.class() only for non-static types
|
2020-10-20 02:29:31 +09:00 |
|
Jeong YunWon
|
ecf1120bee
|
Clean up static-type affected apis
|
2020-10-20 02:29:28 +09:00 |
|
Jeong YunWon
|
f41124fddb
|
Use unreachable_unsafe for static_type()
|
2020-10-20 02:29:21 +09:00 |
|
Jeong YunWon
|
4add0220ae
|
PyValue::class() returns ref
|
2020-10-20 02:29:20 +09:00 |
|
Jeong YunWon
|
34a2038e17
|
Use StaticType::static_class() rather than vm.class
|
2020-10-20 01:47:53 +09:00 |
|
Jeong YunWon
|
5b32064cd6
|
trait StaticType
|
2020-10-20 01:43:39 +09:00 |
|
Jeong YunWon
|
91eb4d42e0
|
direct call io_open for initialization
|
2020-10-19 20:30:29 +09:00 |
|
Jeong YunWon
|
d54cfaf3f4
|
Keep source code order for module items
|
2020-10-19 18:21:04 +09:00 |
|
Jeong YunWon
|
1f8213082c
|
py* macro raises better error for duplicated item
|
2020-10-19 18:11:44 +09:00 |
|
Noah
|
efa809bd17
|
Merge pull request #2290 from RustPython/coolreader18/update-browser
Update the browser module
|
2020-10-17 23:07:27 -05:00 |
|
Noah
|
ee047b9c30
|
Merge pull request #2278 from evilpie/basic_block
Basic block support in JIT
|
2020-10-17 19:39:54 -05:00 |
|
Noah
|
bef5b54ea1
|
Merge pull request #2292 from qingshi163/dev6
fix memoryview is not pickleable
|
2020-10-17 19:29:50 -05:00 |
|
Tom Schuster
|
9f24797bc8
|
basic loop support
|
2020-10-17 19:37:36 +02:00 |
|
Noah
|
c61759bd92
|
Rework some of the _js module
|
2020-10-17 11:34:05 -05:00 |
|
Tom Schuster
|
7aebbc80e1
|
cargo fmt
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
c4d4432666
|
JumpIfTrue
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
7b345d060c
|
Add bool tests
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
d8875cb660
|
constant boolean
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
682107ce81
|
factor out LoadConst
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
70b05cf620
|
bool support
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
abf5ab467b
|
implement bool conversion for float
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
80d168cc74
|
Implement Unary minus/plus
|
2020-10-17 17:42:02 +02:00 |
|
Tom Schuster
|
023bf6c3ba
|
Basic block support in JIT
|
2020-10-17 17:42:02 +02:00 |
|
Kangzhi Shi
|
ce097617f7
|
fix memoryview is not pickleable
|
2020-10-17 13:35:29 +02:00 |
|
Noah
|
cb9c9ec4cf
|
Add some utility methods to function::Args and PyBaseException
|
2020-10-16 20:49:57 -05:00 |
|
Noah
|
79d5872942
|
Expose PyGetSet in builtins
|
2020-10-16 20:49:20 -05:00 |
|
Noah
|
b0f9589471
|
Update dependencies
|
2020-10-16 20:49:00 -05:00 |
|
Jeong YunWon
|
fc0c8e331d
|
Merge pull request #2288 from qingshi163/dev5
fix buffer resizable non-thread safe
|
2020-10-17 00:48:55 +09:00 |
|
Kangzhi Shi
|
64f4282ede
|
fix error type
|
2020-10-16 09:34:35 +02:00 |
|
Kangzhi Shi
|
c2d46b9df3
|
remove comment
|
2020-10-16 07:30:59 +02:00 |
|
Kangzhi Shi
|
c3484c612c
|
fix buffer resizable non-thread safe
|
2020-10-15 17:47:32 +02:00 |
|
Jeong YunWon
|
5a2e9a065e
|
Merge pull request #2285 from youknowone/builtins
Clean up vm::builtins
|
2020-10-13 15:47:53 +09:00 |
|
Jeong YunWon
|
e823d95ce5
|
split vm::builtins::iter utility functions to vm::iterator
|
2020-10-13 15:42:11 +09:00 |
|
Jeong YunWon
|
19ed4f85e7
|
clean up vm::builtins
|
2020-10-13 15:42:11 +09:00 |
|
Noah
|
61ded76298
|
Merge pull request #2286 from youknowone/cargo-update
cargo update
|
2020-10-12 13:58:26 -05:00 |
|