Tíquete #44585

generate_packets.py: assertions should be errors

: 2022-05-14 04:53 Última Atualização: 2022-05-16 22:24

Relator:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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.

Ticket History (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
  • Resolução Update from Nenhum to Accepted
2022-05-16 22:24 Updated by: alienvalkyrie
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login