Incidencia #44585

generate_packets.py: assertions should be errors

Abrir Fecha: 2022-05-14 04:53 Última actualización: 2022-05-16 22:24

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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
  • Resolución Update from Ninguno to Accepted
2022-05-16 22:24 Updated by: alienvalkyrie
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar