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: weird import errors
Type: behavior Stage: resolved
Components: None Versions: Python 3.2
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, ezio.melotti, weirdink13
Priority: normal Keywords:

Created on 2012-09-02 00:53 by weirdink13, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg169680 - (view) Author: Daniel Swanson (weirdink13) Date: 2012-09-02 00:53
I'm dealing with a bunch of nested folders and my imports have gone crazy. When I try to test one of the lower level scripts that imports one of the higher level one it gives me an error message. But, when I run the top one, (which cascadingly imports just about everything) it doesn't. And now I've got one trying to import something on the same level and it says it doesn't exist!
This happens whenever I try to use folders, because of this, I only have one file of programs.
msg169681 - (view) Author: Daniel Swanson (weirdink13) Date: 2012-09-02 01:16
correcting self.
>>> And now I've got one trying to import something on the same level and it says it doesn't exist!

Should have been:
And now I've got the top one importing one that's importing one on the same level and saying it doesn't exist!
msg169684 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2012-09-02 02:49
Please provide a reproducable test case.
msg170872 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2012-09-21 09:13
Closing for lack of reproducible test case.
History
Date User Action Args
2022-04-11 14:57:35adminsetgithub: 60048
2012-09-21 09:13:02ezio.melottisetstatus: pending -> closed
resolution: not a bug
messages: + msg170872

stage: resolved
2012-09-08 23:55:22ezio.melottisetstatus: open -> pending
2012-09-08 15:04:12ezio.melottisetstatus: pending -> open
nosy: + ezio.melotti
2012-09-03 04:27:24brett.cannonsetstatus: open -> pending
2012-09-02 02:49:28benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg169684
2012-09-02 01:16:26weirdink13setmessages: + msg169681
2012-09-02 00:53:25weirdink13create