Docs.rs
monty-0.0.21
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
monty 0.0.21
A sandboxed, snapshotable Python interpreter written in Rust.
Crate
Source
Builds
Feature flags
Documentation
..
args__dict_get_no_args.py
args__dict_get_too_many.py
args__dict_items_with_args.py
args__dict_keys_with_args.py
args__dict_pop_no_args.py
args__dict_pop_too_many.py
args__dict_values_with_args.py
args__id_too_many.py
args__len_no_args.py
args__len_too_many.py
args__len_type_error_int.py
args__len_type_error_none.py
args__list_append_no_args.py
args__list_append_too_many.py
args__list_insert_too_few.py
args__list_insert_too_many.py
args__macro_errors.py
args__repr_no_args.py
arith__div_zero_float.py
arith__div_zero_int.py
arith__floordiv_zero_float.py
arith__floordiv_zero_int.py
arith__pow_zero_neg.py
arith__pow_zero_neg_builtin.py
assert__fail.py
assert__fail_msg.py
assert__ops.py
assign__chain.py
async__asyncio_run.py
async__basic.py
async__closure.py
async__control_flow.py
async__double_await_coroutine.py
async__exception.py
async__ext_call.py
async__ext_exc.py
async__gather_all.py
async__gather_commit_rollback.py
async__gather_double_spawn.py
async__gather_double_spawn_traceback.py
async__nested_await.py
async__nested_gather_ext.py
async__not_awaitable.py
async__not_imported.py
async__recursion_depth_isolation.py
async__return_types.py
async__sequential.py
async__traceback.py
async__transitive_closure.py
async__with_args.py
attr__get_int_error.py
attr__get_list_error.py
attr__set_frozen_nonfield.py
attr__set_int_error.py
attr__set_list_error.py
bench__kitchen_sink.py
bool__ops.py
builtin__add_type_error.py
builtin__filter.py
builtin__filter_not_iterable.py
builtin__getattr.py
builtin__hasattr.py
builtin__iter_err_unpack_int.py
builtin__iter_funcs.py
builtin__iter_next.py
builtin__map.py
builtin__map_not_iterable.py
builtin__math_funcs.py
builtin__more_iter_funcs.py
builtin__next_stop_iteration.py
builtin__print_invalid_kwarg.py
builtin__print_kwargs.py
builtin__repr.py
builtin__setattr.py
builtin__string_funcs.py
bytes__decode_invalid_utf8.py
bytes__endswith_str_error.py
bytes__getitem_index_error.py
bytes__index_start_gt_end.py
bytes__methods.py
bytes__negative_count.py
bytes__ops.py
bytes__startswith_str_error.py
call_object.py
chain_comparison__all.py
class__annotations.py
class__attribute_error.py
class__attrs.py
class__basic.py
class__body_external.py
class__body_raises.py
class__closures.py
class__contains.py
class__dynamic_type.py
class__eq_hash.py
class__init_async.py
class__init_external.py
class__init_raises.py
class__init_return.py
class__method_raises.py
class__name_error.py
class__repr.py
class__scope.py
class__type_errors.py
closure__multi_hop_capture.py
closure__param_shadows_outer.py
closure__pep448.py
closure__transitive.py
closure__undefined_nonlocal.py
codecs__all.py
collections__counter.py
collections__defaultdict.py
collections__deque.py
collections__namedtuple.py
compare__mixed_types.py
comprehension__all.py
comprehension__scope.py
comprehension__unbound_local.py
dataclass__basic.py
dataclass__call_field_error.py
dataclass__frozen_augmented_assign_error.py
dataclass__frozen_set_error.py
dataclass__get_missing_attr_error.py
dataclass__init.py
dataclass__is_dataclass.py
dataclass__repr_eq.py
datetime__core.py
datetime__format.py
decorator__class.py
decorator__class_body_traceback.py
decorator__class_traceback.py
decorator__function.py
decorator__function_async.py
decorator__function_external.py
decorator__function_traceback.py
dict__eq_self_referential.py
dict__get_unhashable_key.py
dict__literal_unhashable_key.py
dict__method_pop_missing_error.py
dict__methods.py
dict__ops.py
dict__pop_unhashable_key.py
dict__popitem_empty.py
dict__subscript_missing_key.py
dict__unhashable_dict_key.py
dict__unhashable_list_key.py
dict__unpack_type_error.py
dict__update_self.py
dict__views.py
edge__all.py
edge__float_int_mod.py
edge__int_float_mod.py
exc__args.py
exc__str.py
execute_ok__all.py
execute_raise__error_instance_str.py
execute_raise__error_no_args.py
execute_raise__error_string_arg.py
execute_raise__error_string_arg_quotes.py
execute_raise__error_type.py
execute_raise__raise_instance_via_var.py
execute_raise__raise_list.py
execute_raise__raise_number.py
execute_raise__raise_type_call_via_var.py
execute_raise__raise_type_direct.py
execute_raise__raise_type_via_var.py
ext_call__arg_side_effect_bug.py
ext_call__augmented.py
ext_call__augmented_refcount_bug.py
ext_call__bare_raise_after_resume.py
ext_call__basic.py
ext_call__boolean.py
ext_call__boolean_side_effect_hang.py
ext_call__closure_bug.py
ext_call__comparison.py
ext_call__deep_call_stack.py
ext_call__elif.py
ext_call__exc.py
ext_call__exc_deep_stack.py
ext_call__exc_in_function.py
ext_call__exc_nested_functions.py
ext_call__ext_exc.py
ext_call__for.py
ext_call__fstring.py
ext_call__if.py
ext_call__if_condition.py
ext_call__in_closure.py
ext_call__in_function.py
ext_call__in_function_simple.py
ext_call__literals.py
ext_call__multi_in_func.py
ext_call__name_lookup.py
ext_call__name_lookup_undefined.py
ext_call__nested_calls.py
ext_call__recursion_bug.py
ext_call__return.py
ext_call__side_effects.py
ext_call__subscript.py
ext_call__ternary.py
ext_call__try.py
ext_call__try_simple.py
ext_call__unary.py
float__mod.py
frozenset__ops.py
fstring__all.py
fstring__error_eq_align_on_str.py
fstring__error_float_f_on_str.py
fstring__error_int_d_on_float.py
fstring__error_int_d_on_str.py
fstring__error_invalid_flags.py
fstring__error_invalid_spec.py
fstring__error_invalid_spec_dynamic.py
fstring__error_invalid_spec_str.py
fstring__error_str_s_on_int.py
fstring__pyformat.py
function__arity_defaults.py
function__call_duplicate_kwargs.py
function__call_unpack.py
function__defaults.py
function__err_duplicate_arg.py
function__err_duplicate_first_arg.py
function__err_duplicate_kwarg_cleanup.py
function__err_duplicate_param.py
function__err_kwonly_as_positional.py
function__err_missing_all_posonly.py
function__err_missing_heap_cleanup.py
function__err_missing_kwonly.py
function__err_missing_posonly_with_kwarg.py
function__err_missing_with_posonly.py
function__err_posonly_as_kwarg.py
function__err_posonly_first_as_kwarg.py
function__err_too_many_posonly.py
function__err_too_many_with_kwonly.py
function__err_unexpected_kwarg.py
function__err_unexpected_kwarg_cleanup.py
function__err_unexpected_kwarg_quote.py
function__err_unexpected_kwarg_simple.py
function__err_unpack_duplicate_arg.py
function__err_unpack_duplicate_heap.py
function__err_unpack_int.py
function__err_unpack_nonstring_key.py
function__err_unpack_not_mapping.py
function__kwargs_unpacking.py
function__ops.py
function__return_none.py
function__signatures.py
function__too_few_args_all.py
function__too_few_args_one.py
function__too_few_args_two.py
function__too_many_args_one.py
function__too_many_args_two.py
function__too_many_args_zero.py
global__error_assigned_before.py
global__ops.py
hash__dict_unhashable.py
hash__list_unhashable.py
hash__ops.py
id__bytes_literals_distinct.py
id__int_copy_distinct.py
id__is_number_is_number.py
id__non_overlapping_lifetimes_distinct_types.py
id__non_overlapping_lifetimes_same_types.py
id__ops.py
id__str_literals_same.py
if__elif_else.py
if__raise_elif.py
if__raise_else.py
if__raise_if.py
if__raise_in_elif_condition.py
if__raise_in_if_condition.py
if_else_expr__all.py
import__error_cannot_import.py
import__error_module_not_found.py
import__future_unknown_feature.py
import__local_scope.py
import__multi.py
import__os.py
import__relative_error.py
import__relative_future_error.py
import__relative_no_module_error.py
import__runtime_error_when_executed.py
import__star_error.py
import__sys.py
import__sys_monty.py
import__type_checking_guard.py
import__typing.py
import__typing_type_ignore.py
int__base.py
int__bigint.py
int__bigint_errors.py
int__max_str_digits.py
int__ops.py
int__overflow_division.py
is_variant__all.py
isinstance__arg2_list_error.py
isinstance__arg2_type_error.py
iter__consume.py
iter__consume_sites.py
iter__dict_mutation.py
iter__for.py
iter__for_loop_unpacking.py
iter__generator_expr.py
iter__generator_expr_type.py
iter__not_iterable.py
iter__reentrant.py
iter__sentinel.py
iter__user_class.py
itertools__adaptors.py
itertools__count_repeat.py
itertools__gc.py
json__dumps_errors.py
json__dumps_formatting.py
json__dumps_keys.py
json__dumps_recursion.py
json__int_max_str_digits.py
json__literals.py
json__loads_invalid_messages.py
json__module.py
lambda__all.py
list__eq_self_referential.py
list__extend_not_iterable.py
list__extend_self.py
list__getitem_out_of_bounds.py
list__index_not_found.py
list__index_start_gt_end.py
list__ops.py
list__pop_empty.py
list__pop_out_of_range.py
list__pop_type_error.py
list__remove_not_found.py
list__setitem_dict_index.py
list__setitem_huge_int_index.py
list__setitem_index_error.py
list__setitem_type_error.py
list__unpack_type_error.py
longint__index_error.py
longint__repeat_error.py
loop__break_continue.py
loop__break_finally.py
loop__break_in_function_error.py
loop__break_in_if_error.py
loop__break_nested_except_clears.py
loop__break_outside_error.py
loop__continue_finally.py
loop__continue_in_function_error.py
loop__continue_in_if_error.py
loop__continue_nested_except_clears.py
loop__continue_outside_error.py
loop__else_control_flow.py
math__acos_domain_error.py
math__acosh_domain_error.py
math__asin_domain_error.py
math__atanh_domain_error.py
math__cos_inf_error.py
math__cosh_overflow_error.py
math__exp_overflow_error.py
math__factorial_float_error.py
math__factorial_negative_error.py
math__floor_inf_error.py
math__floor_nan_error.py
math__floor_str_error.py
math__fmod_inf_error.py
math__gamma_neg_int_error.py
math__gcd_float_error.py
math__isqrt_negative_error.py
math__ldexp_overflow_error.py
math__log1p_domain_error.py
math__log_base1_error.py
math__log_zero_error.py
math__module.py
math__pow_domain_error.py
math__sin_inf_error.py
math__sqrt_negative_error.py
math__tan_inf_error.py
math__trunc_str_error.py
method__args_kwargs_unpacking.py
module__dunders.py
mount_fs__errors.py
mount_fs__ops.py
name_error__module_conditional_assign.py
name_error__unbound_local_func.py
name_error__unbound_local_module.py
name_error__undefined_call_chained.py
name_error__undefined_call_in_expr.py
name_error__undefined_call_in_function.py
name_error__undefined_call_with_args.py
name_error__undefined_global.py
name_error__undefined_global_in_function.py
namedtuple__missing_attr.py
namedtuple__ops.py
nonlocal__error_module_level.py
nonlocal__ops.py
not_implemented__all.py
open__fs.py
open__fs_windows.py
os__environ.py
os__functions.py
parse_error__complex.py
pathlib__import.py
pathlib__os.py
pathlib__os_read_error.py
pathlib__pure.py
pyobject__cycle_dict_self.py
pyobject__cycle_list_dict.py
pyobject__cycle_list_self.py
pyobject__cycle_multiple_refs.py
range__error_no_args.py
range__error_step_zero.py
range__error_too_many_args.py
range__getitem_index_error.py
range__ops.py
range__slice_overflow.py
re__basic.py
re__grouping.py
re__match.py
recursion__deep_drop.py
recursion__deep_eq.py
recursion__deep_hash.py
recursion__deep_isinstance.py
recursion__deep_repr.py
recursion__function_depth.py
recursion__instance_repr.py
recursion__limit_depth.py
recursion__nested_eval.py
refcount__assert.py
refcount__callable_iterator.py
refcount__class.py
refcount__collections.py
refcount__cycle_deep.py
refcount__cycle_external_ref.py
refcount__cycle_mutual_reference.py
refcount__cycle_self_reference.py
refcount__dataclass_default_cycle.py
refcount__dataclass_defaults.py
refcount__dict_basic.py
refcount__dict_get.py
refcount__dict_keys_and.py
refcount__dict_overwrite.py
refcount__finally_swallow.py
refcount__gather_cleanup.py
refcount__gather_exception.py
refcount__gather_nested_cancel.py
refcount__immediate_skipped.py
refcount__itertools_adaptors.py
refcount__itertools_count_repeat.py
refcount__keyword_only_kwarg_arity_errors.py
refcount__kwargs_unpacking.py
refcount__list_append_multiple.py
refcount__list_append_ref.py
refcount__list_concat.py
refcount__list_getitem.py
refcount__list_iadd.py
refcount__min_max_key_error_paths.py
refcount__nested_list.py
refcount__re_pattern_sub_error_paths.py
refcount__re_search_match.py
refcount__re_sub_error_paths.py
refcount__shared_reference.py
refcount__single_list.py
refcount__unbound_result.py
refcount__user_contains.py
refcount__user_iterator.py
refcount__with_class.py
repr__cycle_detection.py
set__ops.py
set__unpack_type_error.py
slice__invalid_indices.py
slice__kwargs.py
slice__no_args.py
slice__ops.py
slice__step_zero.py
slice__step_zero_bytes.py
slice__step_zero_range.py
slice__step_zero_str.py
slice__step_zero_tuple.py
slice__too_many_args.py
star__unpack_iterables.py
str__getitem_index_error.py
str__index_not_found.py
str__join_no_args.py
str__join_non_string.py
str__join_not_iterable.py
str__join_too_many_args.py
str__methods.py
str__ops.py
str__partition_empty.py
str__rsplit_empty_sep.py
str__split_empty_sep.py
sys__types.py
traceback__division_error.py
traceback__index_error.py
traceback__insert_as_int.py
traceback__nested_call.py
traceback__nonlocal_module_scope.py
traceback__nonlocal_unbound.py
traceback__range_as_int.py
traceback__recursion_error.py
traceback__set_mutation.py
traceback__undefined_attr_call.py
traceback__undefined_call.py
traceback__undefined_raise.py
try_except__all.py
try_except__bare_raise_no_context.py
try_except__invalid_type.py
try_finally__control_flow.py
tuple__getitem_out_of_bounds.py
tuple__index_not_found.py
tuple__index_start_gt_end.py
tuple__methods.py
tuple__ops.py
tuple__unpack_type_error.py
type__builtin_attr_error.py
type__bytes_negative.py
type__cell_not_builtin.py
type__exception_attr_error.py
type__float_conversion_error.py
type__float_repr_both_quotes.py
type__float_repr_newline.py
type__float_repr_single_quote.py
type__int_conversion_error.py
type__list_not_iterable.py
type__non_builtin_name_error.py
type__ops.py
type__shadow_exc.py
type__shadow_int.py
type__shadow_len.py
type__tuple_not_iterable.py
type_error__int_add_list.py
type_error__int_div_str.py
type_error__int_floordiv_str.py
type_error__int_iadd_str.py
type_error__int_mod_str.py
type_error__int_pow_str.py
type_error__int_sub_str.py
type_error__list_add_int.py
type_error__list_add_str.py
type_error__list_iadd_int.py
type_error__str_add_int.py
type_error__str_iadd_int.py
type_error__unary_invert_str.py
type_error__unary_minus_str.py
type_error__unary_neg_str.py
type_error__unary_plus_str.py
typing__types.py
unary__ops.py
unicodedata__bad_arg.py
unicodedata__core.py
unicodedata__name_error.py
unpack__nested.py
unpack__non_sequence.py
unpack__not_enough.py
unpack__ops.py
unpack__star_not_enough.py
unpack__too_many.py
version__cpython.py
walrus__all.py
while__all.py
with__all.py
with__class.py
with__class_external.py
with__cm_context_expr_raises_traceback.py
with__cm_enter_raises_traceback.py
with__cm_exit_raises_normal_exit_traceback.py
with__cm_nested_body_raises_traceback.py
with__cm_traceback.py
with__not_context_manager.py