New submission from Brett Cannon:

imp._HackedGetData doesn't check if the file it cached from its constructor is 
still open or not. Since the path had previously been stored it would make 
sense to try re-opening the file if the file object has already been closed.

----------
assignee: brett.cannon
components: Library (Lib)
messages: 195334
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: imp read functions do not try to re-open files that have been closed 
from previous reads
type: behavior
versions: Python 3.3, Python 3.4

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

Reply via email to