classification
Title: Typo in importlib
Type: behavior Stage: resolved
Components: Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, pitrou
Priority: normal Keywords:

Created on 2009-01-19 00:34 by pitrou, last changed 2009-01-19 06:56 by brett.cannon. This issue is now closed.

Messages (2)
msg80139 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-01-19 00:34
In importlib/_bootstrap.py, line 435 reads:

        with closing(_fileio_FileIO(source_path, 'r')) as file:

which whould probably be:

        with closing(_fileio._FileIO(source_path, 'r')) as file:
msg80147 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-01-19 06:56
Yeah, that code has not been tested yet as that is farther down the todo
list. Thanks for the catch!

Fixed in r68761.
History
Date User Action Args
2009-01-19 06:56:48brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg80147
stage: resolved
2009-01-19 00:34:42pitroucreate