Commit Graph

23 Commits

Author SHA1 Message Date
Jeong YunWon
6ddb690e09 Remove _vm parameter when it is not required 2020-02-06 11:07:51 +09:00
Jeong YunWon
70b63eb758 new_rustfunc -> new_function & new_method to distinguish bindable functions 2020-01-12 18:39:16 +09:00
Jeong YunWon
13914e0739 objstr::get_value -> objstr::clone_value
because the previous naming gives unclear performance estimation to
users especially comparing to objstr::borrow_value
2020-01-02 20:51:10 +09:00
coolreader18
a72ef1e365 Add frozen package support 2019-07-27 14:27:29 -05:00
Maxim Kurnikov
347d48198e fix remaining clippy warnings 2019-07-07 06:27:07 +03:00
Aviv Palivoda
a3dc98d172 Add empty _imp._fix_co_filename 2019-06-28 10:46:55 +03:00
coolreader18
aefbae40e4 Revert "Make CodeObject.source_path an Option<String>" 2019-06-20 12:01:20 -05:00
coolreader18
b74b65d37e Make CodeObject.source_path an Option<String> 2019-06-16 19:59:04 -05:00
coolreader18
75c2e4ae9b Remove lazy_static, just store as a CodeObject 2019-06-15 11:31:30 -05:00
coolreader18
8143b69165 Change imp_get_frozen_object 2019-06-14 11:31:39 -05:00
coolreader18
e592f3d888 Add py_compile_bytecode! macro 2019-06-14 10:42:45 -05:00
coolreader18
45bb2bd263 Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00
Aviv Palivoda
5c53e58547 Print frozen import file name in stacktrace 2019-06-10 19:18:32 +03:00
Aviv Palivoda
106f5f7054 Add _imp.is_frozen_package 2019-06-01 15:15:16 +03:00
Aviv Palivoda
0acce07631 Add _imp.init_frozen 2019-06-01 15:11:55 +03:00
Aviv Palivoda
4faaf2d6ca Add _imp.get_frozen_object 2019-06-01 15:03:45 +03:00
Aviv Palivoda
9a168b10d1 Add _imp.exec_builtin that does nothing 2019-06-01 14:49:12 +03:00
Aviv Palivoda
1294b56cbe Add _imp.create_builtin 2019-06-01 14:32:23 +03:00
Aviv Palivoda
9e88b808dd Add _imp.is_frozen 2019-05-30 18:50:46 +03:00
Aviv Palivoda
042a673ea2 Use contains_key 2019-05-26 21:16:40 +03:00
Aviv Palivoda
7a467781e2 Add _imp.is_builtin 2019-05-25 15:34:18 +03:00
Aviv Palivoda
8197b17c14 Add empty _imp locks methods 2019-05-25 15:07:51 +03:00
Aviv Palivoda
2c74d7cc12 Add _imp 2019-05-25 15:02:03 +03:00