[issue18755] imp read functions do not try to re-open files that have been closed from previous reads

2013-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ddd610cb65ef by Brett Cannon in branch '3.3': Issue #18755: Allow imp.load_*() loaders to have get_data() called http://hg.python.org/cpython/rev/ddd610cb65ef New changeset b107f7a8730d by Brett Cannon in branch '3.3': NEW entry for issue #18755

[issue18755] imp read functions do not try to re-open files that have been closed from previous reads

2013-08-23 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18755 ___

[issue18755] imp read functions do not try to re-open files that have been closed from previous reads

2013-08-16 Thread Brett Cannon
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: