任务单 #44585

generate_packets.py: assertions should be errors

开放日期: 2022-05-14 04:53 最后更新: 2022-05-16 22:24

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

Part of #43927. Current generate_packets.py contains a lot of assert statements, which only get run when __debug__ is true – most of these check the integrity of outside input (packets.def) and should thus raise ValueErrors instead.

任务单历史 (3/4 Histories)

2022-05-14 04:53 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: assertions should be errors" created
2022-05-14 05:38 Updated by: alienvalkyrie
  • 处理结果 Update from to Accepted
2022-05-16 22:24 Updated by: alienvalkyrie
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名