Ticket #43932

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

오픈 날짜: 2022-02-19 22:26 마지막 업데이트: 2022-02-22 21:11

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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 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
  • 소유자 Update from (None) to alienvalkyrie
  • Resolution Update from None to Accepted
댓글 올리기

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

2022-02-22 21:11 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login