Ticket #43932

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

Eröffnet am: 2022-02-19 22:26 Letztes Update: 2022-02-22 21:11

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

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-Verlauf (3/5 Historien)

2022-02-19 22:26 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: Use context managers and with-blocks when accessing files" created
2022-02-20 11:58 Aktualisiert von: alienvalkyrie
2022-02-21 04:14 Aktualisiert von: alienvalkyrie
  • Verantwortlicher Update from (Keine) to alienvalkyrie
  • Lösung Update from Keine to Accepted
Kommentar

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

2022-02-22 21:11 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden