Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email.LazyImporter does not use absolute imports #48462

Closed
brandonbloom mannequin opened this issue Oct 27, 2008 · 3 comments
Closed

email.LazyImporter does not use absolute imports #48462

brandonbloom mannequin opened this issue Oct 27, 2008 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@brandonbloom
Copy link
Mannequin

brandonbloom mannequin commented Oct 27, 2008

BPO 4212
Nosy @loewis, @warsaw, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/bitdancer'
closed_at = <Date 2010-12-27.20:28:18.190>
created_at = <Date 2008-10-27.05:57:20.087>
labels = ['type-bug', 'library']
title = 'email.LazyImporter does not use absolute imports'
updated_at = <Date 2010-12-27.20:28:18.188>
user = 'https://bugs.python.org/brandonbloom'

bugs.python.org fields:

activity = <Date 2010-12-27.20:28:18.188>
actor = 'r.david.murray'
assignee = 'r.david.murray'
closed = True
closed_date = <Date 2010-12-27.20:28:18.190>
closer = 'r.david.murray'
components = ['Library (Lib)']
creation = <Date 2008-10-27.05:57:20.087>
creator = 'brandonbloom'
dependencies = []
files = []
hgrepos = []
issue_num = 4212
keywords = []
message_count = 3.0
messages = ['75251', '77494', '124734']
nosy_count = 4.0
nosy_names = ['loewis', 'barry', 'brandonbloom', 'r.david.murray']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue4212'
versions = ['Python 2.6']

@brandonbloom
Copy link
Mannequin Author

brandonbloom mannequin commented Oct 27, 2008

I have a package with a module called "email". If I try to use the
standard email package, it fails to load email.Utils because
email.LazyImporter is looking in my email module instead of the top-
level email package.

@brandonbloom brandonbloom mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Oct 27, 2008
@loewis
Copy link
Mannequin

loewis mannequin commented Dec 10, 2008

No patch has been proposed, so the issue is not eligible for 2.5.3.

@warsaw warsaw assigned bitdancer and unassigned warsaw May 5, 2010
@bitdancer
Copy link
Member

LazyImporter isn't used in Python3. Without someone motivated to propose a patch this isn't going to be changed, so I'm closing the issue.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants