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

import suds help( suds ) fails #49267

Closed
pjb mannequin opened this issue Jan 21, 2009 · 3 comments
Closed

import suds help( suds ) fails #49267

pjb mannequin opened this issue Jan 21, 2009 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@pjb
Copy link
Mannequin

pjb mannequin commented Jan 21, 2009

BPO 5017
Nosy @amauryfa, @ezio-melotti, @Trundle

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 = None
closed_at = <Date 2013-03-13.23:10:45.264>
created_at = <Date 2009-01-21.01:36:40.126>
labels = ['type-bug', 'library']
title = 'import suds help( suds ) fails'
updated_at = <Date 2013-03-13.23:10:45.262>
user = 'https://bugs.python.org/pjb'

bugs.python.org fields:

activity = <Date 2013-03-13.23:10:45.262>
actor = 'ezio.melotti'
assignee = 'none'
closed = True
closed_date = <Date 2013-03-13.23:10:45.264>
closer = 'ezio.melotti'
components = ['Library (Lib)']
creation = <Date 2009-01-21.01:36:40.126>
creator = 'pjb'
dependencies = []
files = []
hgrepos = []
issue_num = 5017
keywords = []
message_count = 3.0
messages = ['80306', '80310', '184118']
nosy_count = 4.0
nosy_names = ['amaury.forgeotdarc', 'ezio.melotti', 'Trundle', 'pjb']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue5017'
versions = ['Python 2.6']

@pjb
Copy link
Mannequin Author

pjb mannequin commented Jan 21, 2009

Python Interactive Shell 2.6.1 r261:67517
easy_install suds #seemed to succeed
import suds
help( suds ) fails in Python26\lib\inspect.py with index out of range
I fixed the obvious problem, then failed on another. After fixing 3 0r 4
it worked but there is probably one correct fix to the problem.

A bit beyond my present competence to fix it properly.

@amauryfa
Copy link
Member

The inspect module seems to have problems with modules directly imported
from a zip file.
When installing with "easy_install -Z suds", the problem disappears.

@birkenfeld birkenfeld added the stdlib Python modules in the Lib dir label Oct 21, 2010
@ezio-melotti
Copy link
Member

I tried to zip a python module that contained a couple of functions, and after importing it as described in http://docs.python.org/2/library/zipimport.html#examples, I was able to use the inspect module to inspect the module and its functions without encountering any problem.
I'm therefore going to close this as out of date.

@ezio-melotti ezio-melotti added the type-bug An unexpected behavior, bug, or error label Mar 13, 2013
@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

3 participants