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.

Author Jim_C
Recipients Jim_C
Date 2008-12-15.21:26:06
SpamBayes Score 2.41856e-06
Marked as misclassified No
Message-id <1229376434.19.0.800052631244.issue4671@psf.upfronthosting.co.za>
In-reply-to
Content
Running pydoc [ pydoc <modulename> ] on a python module using Tkinter 
displayed the window defined in the module - not what I was 
expecting..   Running pydoc on

from os import remove
sFile='tmp.tmp'
remove(sFile)

will remove the file tmp.tmp, if it exists. 
If this behaviour is intentional ( as it appears to be, see 
imp.load_module ) & presumably integral to the operation of pydoc, then 
it might be worth providing a warning on the web page ( 
http://docs.python.org/library/pydoc.html ) ?? 
Running a code with default arguments in an arbitrary directory could 
potentially produce unwanted side effects, at the very least..
Regards ,
Jim_C
History
Date User Action Args
2008-12-15 21:27:14Jim_Csetrecipients: + Jim_C
2008-12-15 21:27:14Jim_Csetmessageid: <1229376434.19.0.800052631244.issue4671@psf.upfronthosting.co.za>
2008-12-15 21:26:07Jim_Clinkissue4671 messages
2008-12-15 21:26:06Jim_Ccreate