Message4426
Logged In: YES
user_id=59803
WHOA. Belay that. I screwed up trying to run too many tests
in a row without shutting down the interpreter.
Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license" for more
information.
>>> import pydoc
>>> import DemonstratePydocBug
>>> pydoc.help(DemonstratePydocBug.Target)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'DemonstratePydocBug' module has no
attribute 'Target'
Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license" for more
information.
>>> import pydoc
>>> import DemonstratePydocBug
>>> DemonstratePydocBug.Target
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'DemonstratePydocBug' module has no
attribute 'Target'
>>> import DemonstratePydocBug.Target
>>> DemonstratePydocBug.Target
<module 'DemonstratePydocBug.Target' from 'c:\python21
\lib\DemonstratePydocBug\Target.pyc'>
>>> pydoc.help(DemonstratePydocBug.Target)
Help on module DemonstratePydocBug.Target:
NAME
DemonstratePydocBug.Target
FILE
c:\python21\lib\demonstratepydocbug\target.py
DESCRIPTION
Target: module to help demonstrate the pydoc reload bug.
See the docstring in __init__.py for full details.
Reloading the description of this module in pydoc
should work,
but that's hardly unusual because it doesn't import
*anything*.
Try ReloadWorks and ReloadFails, instead.
DATA
__file__ = r'c:\python21
\lib\DemonstratePydocBug\Target.pyc'
__name__ = 'DemonstratePydocBug.Target'
>>> pydoc.help(DemonstratePydocBug.Target)
Help on module DemonstratePydocBug.Target:
NAME
DemonstratePydocBug.Target
... |
|
Date |
User |
Action |
Args |
2007-08-23 13:54:00 | admin | link | issue417833 messages |
2007-08-23 13:54:00 | admin | create | |
|