This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:56 by admin. 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
2022-04-11 14:56:44adminsetgithub: 49243
2009-01-19 06:56:48brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg80147
stage: resolved
2009-01-19 00:34:42pitroucreate