This website requires JavaScript.
Explore
Help
Sign In
Cyclic0007
/
ruff
Watch
1
Star
0
Fork
0
You've already forked ruff
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
87f6f08ef53edc2cbe8632d612f6d4fd016fe2ff
ruff
/
crates
/
ty_python_semantic
/
resources
/
corpus
History
David Peter
ab3af924ef
[ty] Fix panic for attribute expressions with empty value (
#19069
)
...
## Summary closes
https://github.com/astral-sh/ty/issues/738
## Test Plan Added corpus test
2025-07-09 08:46:33 +02:00
..
00_const.py
…
00_empty.py
…
00_expr_discard.py
…
00_expr_var1.py
…
01_expr_unary.py
…
02_expr_attr_multiline_assign.py
…
02_expr_attr_multiline.py
…
02_expr_attr.py
…
02_expr_bin_bool.py
…
02_expr_binary.py
…
02_expr_bool_op_multiline2.py
…
02_expr_bool_op_multiline.py
…
02_expr_rel_multiple.py
…
02_expr_rel.py
…
02_expr_subscr.py
…
03_dict_ex.py
…
03_dict_literal_large.py
…
03_dict_unpack_huge.py
…
03_dict.py
…
03_list_ex.py
…
03_list_large.py
…
03_list.py
…
03_set_multi.py
…
03_set.py
…
03_slice_ext.py
…
03_slice.py
…
03_tuple_ex.py
…
03_tuple.py
…
04_assign_attr_func.py
…
04_assign_attr.py
…
04_assign_named_expr.py
…
04_assign_subscr.py
…
04_assign_unpack_ex.py
…
04_assign_unpack_tuple.py
…
04_assign_unpack.py
…
04_assign.py
…
04_aug_assign_attr_multiline.py
…
04_aug_assign_attr_sub.py
…
04_aug_assign.py
…
05_funcall_1.py
…
05_funcall_2.py
…
05_funcall_in_multiline_tuple.py
…
05_funcall_kw_many.py
…
05_funcall_kw_pos.py
…
05_funcall_kw.py
…
05_funcall_method_multiline.py
…
05_funcall.py
…
06_funcall_kwargs.py
…
06_funcall_many_args.py
…
06_funcall_starargs_ex.py
…
06_funcall_varargs_kwargs_mixed.py
…
06_funcall_varargs_kwargs.py
…
06_funcall_varargs.py
…
07_ifexpr_multiline2.py
…
07_ifexpr_multiline.py
…
07_ifexpr.py
…
08_del_multi.py
…
08_del.py
…
09_pass.py
…
10_if_chained_compare.py
…
10_if_false.py
…
10_if_invalid.py
…
10_if_true.py
…
10_if_with_named_expr.py
…
10_if.py
…
11_if_else_deeply_nested_for.py
…
11_if_else_false.py
…
11_if_else_true.py
…
11_if_else.py
…
12_if_elif_else.py
…
12_if_elif.py
…
13_ifelse_complex1.py
…
13_ifelse_many.py
…
15_while_break_in_finally.py
…
15_while_break_invalid_in_class.py
…
15_while_break_invalid_in_func.py
…
15_while_break_non_empty.py
…
15_while_break_non_exit.py
…
15_while_break.py
…
15_while_continue.py
…
15_while_false.py
…
15_while_infinite.py
…
15_while_true.py
…
15_while.py
…
16_for_break_invalid_in_class.py
…
16_for_break_invalid_in_func.py
…
16_for_break.py
…
16_for_continue.py
…
16_for_else.py
…
16_for_invalid.py
…
16_for_list_literal.py
…
16_for_nested_ifs.py
…
16_for.py
…
20_lambda_const.py
…
20_lambda_default_arg.py
…
20_lambda_ifelse.py
…
20_lambda.py
…
21_func1_ret.py
…
21_func1.py
…
21_func_assign2.py
…
21_func_assign.py
…
22_func_arg.py
…
22_func_vararg.py
…
23_func_ret_val.py
…
23_func_ret.py
…
24_func_if_ret.py
…
24_func_ifelse_ret.py
…
24_func_ifnot_ret.py
…
25_func_annotations_nested.py
…
25_func_annotations_same_name.py
…
25_func_annotations_scope.py
…
25_func_annotations_starred.py
…
25_func_annotations.py
…
26_func_const_defaults.py
…
26_func_defaults_same_name.py
…
27_func_generic_bound.py
…
27_func_generic_constraint.py
…
27_func_generic_default.py
…
27_func_generic_paramspec_default.py
…
27_func_generic_paramspec.py
…
27_func_generic_tuple_default.py
…
27_func_generic_tuple.py
…
27_func_generic.py
…
30_func_enclosed_many.py
…
30_func_enclosed.py
…
31_func_global_annotated_later.py
…
31_func_global.py
…
31_func_nonlocal.py
…
32_func_global_nested.py
…
33_func_with_docstring_optimizable_tuple_and_return.py
…
40_import.py
…
41_from_import.py
…
42_import_from_dot.py
…
50_yield.py
…
51_gen_comp2.py
…
51_gen_comp.py
…
52_gen_comp_if.py
…
53_dict_comp.py
…
53_list_comp_method.py
…
53_list_comp.py
…
53_set_comp.py
…
54_list_comp_func.py
…
54_list_comp_lambda_listcomp.py
…
54_list_comp_lambda.py
…
54_list_comp_recur_func.py
…
55_list_comp_nested.py
…
56_yield_from.py
…
57_await.py
…
58_async_for_break.py
…
58_async_for_continue.py
…
58_async_for_dict_comp.py
…
58_async_for_else.py
…
58_async_for_gen_comp.py
…
58_async_for_list_comp.py
…
58_async_for_set_comp.py
…
58_async_for.py
…
59_async_with_nested_with.py
…
59_async_with.py
…
60_try_except2.py
…
60_try_except_bare.py
…
60_try_except.py
…
60_try_finally_codeobj.py
…
60_try_finally_cond.py
…
60_try_finally_for.py
…
60_try_finally_ret.py
…
60_try_finally.py
…
61_try_except_finally.py
…
62_try_except_as.py
…
62_try_except_break.py
…
62_try_except_cond.py
…
62_try_except_double_nested_inside_if_else.py
…
62_try_except_return.py
…
63_raise_func.py
…
63_raise_x_from_y.py
…
63_raise_x.py
…
63_raise.py
…
64_assert.py
…
67_with_as_func.py
…
67_with_as.py
…
67_with_cond_return.py
…
67_with_inside_try_finally_multiple_terminal_elif.py
…
67_with_inside_try_finally_preceding_terminal_except.py
…
67_with_multi_exit.py
…
67_with_non_name_target.py
…
67_with_return.py
…
67_with.py
…
68_with2.py
…
69_for_try_except_continue1.py
…
69_for_try_except_continue2.py
…
69_for_try_except_continue3.py
…
70_class_base.py
…
70_class_doc_str.py
…
70_class.py
…
71_class_meth.py
…
71_class_var.py
…
72_class_mix.py
…
73_class_generic_bounds.py
…
73_class_generic_constraints.py
…
73_class_generic_defaults.py
…
73_class_generic_paramspec_default.py
…
73_class_generic_paramspec.py
…
73_class_generic_tuple_default.py
…
73_class_generic_tuple.py
…
73_class_generic.py
…
74_class_kwargs_2.py
…
74_class_kwargs.py
…
74_class_super_nested.py
…
74_class_super.py
…
74_just_super.py
…
75_classderef_no.py
…
75_classderef.py
…
76_class_nonlocal1.py
…
76_class_nonlocal2.py
…
76_class_nonlocal3.py
…
76_class_nonlocal4.py
…
76_class_nonlocal5.py
…
77_class__class__.py
…
77_class__class__nested.py
…
77_class__class__no_class.py
…
77_class__class__nonlocals_2.py
…
77_class__class__nonlocals.py
…
77_class__class__param_lambda.py
…
77_class__class__param.py
…
78_class_body_cond.py
…
78_class_dec_member_func.py
…
78_class_dec_member.py
…
78_class_dec.py
…
79_metaclass.py
…
80_func_kwonlyargs1.py
…
80_func_kwonlyargs2.py
…
80_func_kwonlyargs3.py
…
81_func_kwonlyargs_defaults.py
…
83_jupyter_notebook_ipython_magic.ipynb
…
85_match_as.py
…
85_match_attr.py
…
85_match_class.py
…
85_match_default.py
…
85_match_guard_with_named_expr.py
…
85_match_guard.py
…
85_match_in_func_with_rest.py
…
85_match_in_func_with_star.py
…
85_match_in_func.py
…
85_match_invalid.py
…
85_match_mapping_subpattern.py
…
85_match_mapping.py
…
85_match_or.py
…
85_match_sequence_wildcard.py
…
85_match_sequence.py
…
85_match_singleton.py
…
85_match.py
…
88_regression_generic_method_with_nested_function.py
…
88_regression_issue_738.py
…
88_regression_issue_17792.py
…
88_regression_tuple_type_short_circuit.py
…
89_type_alias.py
…
90_docstring_class.py
…
90_docstring_func.py
…
90_docstring_mod.py
…
91_line_numbers1.py
…
91_line_numbers2_comp.py
…
91_line_numbers2.py
…
91_line_numbers3.py
…
91_line_numbers4.py
…
91_line_numbers_dict_comp.py
…
91_line_numbers_dict.py
…
92_qual_class_in_class.py
…
92_qual_class_in_func.py
…
93_deadcode.py
…
94_strformat_complex.py
…
94_strformat_conv.py
…
94_strformat_conversion.py
…
94_strformat_spec.py
…
94_strformat.py
…
95_annotation_assign_subscript_no_rhs.py
…
95_annotation_assign_tuple.py
…
95_annotation_class_multiline.py
…
95_annotation_class_no_value.py
…
95_annotation_class.py
…
95_annotation_fstring_invalid.py
…
95_annotation_func_future.py
…
95_annotation_func.py
…
95_annotation_global_simple.py
…
95_annotation_global.py
…
95_annotation_local_attr.py
…
95_annotation_module.py
…
95_annotation_string_tuple.py
…
95_annotation_union.py
…
96_debug.py
…
97_global_nonlocal_store.py
…
98_ann_assign_annotation_future_annotations.py
…
98_ann_assign_annotation_wrong_future.py
…
98_ann_assign_simple_annotation.py
…
99_empty_jump_target_insts.py
…
callable_with_concatenate.py
…
cycle_narrowing_constraints.py
…
cycle_negative_narrowing_constraints.py
…
except_handler_with_Any_bound_typevar.py
…
literal_slices.py
…
self_referential_function_annotation.py
…
sub_exprs_not_found_in_evaluate_expr_compare.py
…
ty_extensions.py
…