任务单 #43932

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

开放日期: 2022-02-19 22:26 最后更新: 2022-02-22 21:11

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
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.

任务单历史 (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 (无) to alienvalkyrie
  • 处理结果 Update from to Accepted
评论

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

2022-02-22 21:11 Updated by: alienvalkyrie
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名