R. David Murray added the comment:

Thanks for the patch, Vajrasky, but I chose a different fix, since the proposed 
one could leave the file open if the shlex constructor raised an error.  Not 
particularly important, but as long as we are cleaning up the code we might as 
well make it as clean as we can.

Since 2.7 doesn't generate ResourceWarnings I chose not to apply it there.

----------
nosy: +r.david.murray
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to