Ticket #43932

generate_packets.py: Use context managers and with-blocks when accessing files

Date d'ouverture: 2022-02-19 22:26 Dernière mise à jour: 2022-02-22 21:11

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

Part of #43927. Context managers also allow things that need to happen at the beginning and end of something – like multiple inclusion protection or extern "C" {...} wrapping – to have both parts in one place.

Ticket History (3/5 Histories)

2022-02-19 22:26 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: Use context managers and with-blocks when accessing files" created
2022-02-20 11:58 Updated by: alienvalkyrie
2022-02-21 04:14 Updated by: alienvalkyrie
  • Propriétaire Update from (Aucun) to alienvalkyrie
  • Résolution Update from Aucun to Accepted
Commentaire

The part about more context managers has been split off into #43953 and #43954.

2022-02-22 21:11 Updated by: alienvalkyrie
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion