BIND 10 #1828: Python tests print warnings about unclosed file handles / sockets
BIND 10 Development
do-not-reply at isc.org
Mon Jun 18 18:44:29 UTC 2012
#1828: Python tests print warnings about unclosed file handles / sockets
-------------------------------------+-------------------------------------
Reporter: muks | Owner: muks
Type: | Status: closed
defect | Milestone:
Priority: | Sprint-20120619
medium | Resolution: fixed
Component: | Sensitive: 0
Unclassified | Sub-Project: DNS
Keywords: | Estimated Difficulty: 4
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by muks):
The use of `with` statements on socket objects caused a problem with
CPython version < 3.2. So these changes were reverted to the vanilla
open() + explicit close(). This is done in the trac1828_2 branch.
--
Ticket URL: <http://bind10.isc.org/ticket/1828#comment:29>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list