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: 'import foo as bar' not checking for 'as'
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: twouters Nosy List: georg.brandl, twouters
Priority: high Keywords: patch

Created on 2006-07-07 08:15 by twouters, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
check-as.diff georg.brandl, 2006-07-07 08:39
Messages (3)
msg50624 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2006-07-07 08:15
'import foo as bar' doesn't check if the 'as' is really
'as', allowing for 'import foo feeble bar' to mean the
same thing. I probably broke this somehow when making
'as' a future-keyword. Adding a bug to remind myself to
fix it (next week or so)

msg50625 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-07-07 08:39
Logged In: YES 
user_id=849994

Preliminary patch is attached.
msg50626 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2006-07-08 10:44
Logged In: YES 
user_id=34209

Neal fixed this in r50489 (#1519018 was a dupe of this, but
he saw that first, apparently :)
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43630
2006-07-07 08:15:37twouterscreate