[ python-Bugs-900580 ] IDLE docs broken on OSX

SourceForge.net noreply at sourceforge.net
Thu Feb 19 14:59:34 EST 2004


Bugs item #900580, was opened at 2004-02-19 14:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900580&group_id=5470

Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jonathan Brandmeyer (jbrandmeyer)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE docs broken on OSX

Initial Comment:
Under Apple's OSX operating system, the variable
sys.platform is named'darwin'.  In at least one place,
idle makes a test to see if thecurrent platform is MS
Windows by checking for the substring 'win'
insys.platform, which leads to incorrect behavior on
the Mac.

In particular, in
lib/python2.3/idlelib/EditorWindow.py, member function
EditorWindow.python_docs() behaves incorrectly on OS X.
 I believe that if the test for MS Windows is
completely removed that you will get correct behavior
on all platforms, based on my reading of the webbrowser
module source.

Please change that function to the following (near line
313):    

>>>    def python_docs(self, event=None):
>>>        webbrowser.open(self.help_url)
>>>        return "break"


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900580&group_id=5470



More information about the Python-bugs-list mailing list