|
From: James M. <mu...@pi...> - 2009-01-08 22:45:19
|
The patch works.
In macosxSupport.py, if you change the line
if tkversion >= '8.4.14':
to
if map(int, tkversion.split('.')) >= (8, 4, 14):
then you get an IDLE->Preferences menu, which contains all the
configuration stuff.
{I had a typo in my last mail, It should have said version of Tk <
8.4.10.}
I haven't checked the 2.5.4 version of MacPython, but since this
change only went into the repository on Friday. It might not be in
the bundle.
-Jim
On Jan 8, 2009, at 4:25 PM, James Mueller wrote:
> I just realized I responed to Scott and not the entire list, so I
> paste that here.
>
> In the meantime. here are three issues listed the python tracker.
>
> 2754 6 days ago Mac version of IDLE doesn't scroll as
> expected
> open alextrob
> http://bugs.python.org/issue2754
>
> 3549 6 days ago Missing IDLE Preferences on Mac pending
> pchew
> http://bugs.python.org/issue3549
>
> After reading the first one, I can verify that I see this effect too.
>
> The second one states that the Options->Configure menu has become
> IDLE-
>> Preferences on the mac, but there was a bug in how they checked the
> Tk version. So it should bite you if you have a version of Tk >=
> 8.4.10. It states that this was fixed on Friday and is in the trunk
> and backported to the 2.6 and 3.1 versions of Python. (3.1?)
>
> Anyway below is my previous message, which is probably out of date
> now.
>
>> I have tried out idle from both the current Enthought and the one
>> that
>> comes with MacPython. The only things I see are:
>>
>> 1) If I open a new window, or open a file, occasionally I get an
>> error
>>
>> RCNE SendEventToEventTarget (suom Moved ) failed, -50
>>
>> This does not happen every time, and maybe it could happen selecting
>> other menu items. I haven't tried everything, and it is intermittent
>> on those where I do see it. I can't give an impression of whether it
>> occurs more frequently in one distribution than another, because
>> after
>> playing for 5 minutes on each, I only have a handful of instances
>> total. Any comparison would no be statistically significant, but it
>> does not seem to be a large problem. Of course that might just be my
>> hardware.
>>
>> 2) If I click in one window and then back in source window, Focus is
>> changed to the source window but the cursor position is still where
>> it
>> was when I was last in that window. Once focus has been shifted to
>> that window, cursor move properly when I click on text. This is a
>> "feature" that I see all the time on Macs. When I have two browser
>> windows open I click on a button in one, it has no effect unless that
>> window already has the focus. This is sometimes annoying for me in
>> that I don't want to have to click twice to get something to happen.
>> Other times I am happy that the button I just happen to click on
>> while
>> trying to bring a window to the front didn't actually register the
>> click.
>>
>> 3) I haven't been able to get the scrollbar problem to occur, but
>> again if it is an intermittent problem, perhaps I just haven't tried
>> long enough.
>>
>> 4) The reason that the new Enthought distribution has a "Configure
>> IDLE" menu option is that they threw out the IDLE.app. Instead they
>> provide a simple shell script, ".command" which then runs "/
>> Library/
>> Frameworks/Python.framework/Versions/Current/bin/idle" in a console
>> window. So the configure problem is in IDLE.app, not idle.
>
>
> -Jim
>
>
> On Jan 8, 2009, at 12:47 PM, Bruce Sherwood wrote:
>
>> I've verified that the Visual 5.01 works with the latest MacPython
>> 2.5.4, and I've changed the Visual 5 download pages for Mac and
>> Windows
>> to reference the recent 2.5.4 release instead of 2.5.2.
>>
>> However, when I install MacPython 2.5.4, overwriting 2.5.2 but
>> leaving
>> the Visual 5.01 files in place, Visual hangs (like the problem
>> sometimes
>> seen with Visual 5.01 when running for the first time on a Mac).
>> Reinstalling Visual 5.01 cures the problem. Strange.
>>
>> Bruce Sherwood
>>
>> Joe Heafner wrote:
>>> Date: Wed, 07 Jan 2009 13:26:09 -0500
>>> From: Bruce Sherwood <Bru...@nc...
>>> <mailto:Bru...@nc...>>
>>> Subject: [Visualpython-users] Mac IDLE fix
>>> To: vpusers <vis...@li...
>>> <mailto:vis...@li...>>
>>> Message-ID: <496...@nc...
>>> <mailto:496...@nc...>>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>
>>> The version of IDLE that comes with Python on the Mac is
>>> defective. In
>>> particular, it does not offer a menu option to configure IDLE.
>>> If you
>>> would like to have a larger font size, to have your file
>>> automatically
>>> saved when you run (if you changed it), the ability to be able
>>> to make a
>>> change and re-run your program without being interrupted by
>>> being asked
>>> whether to save the file, and to have the Visual help available
>>> on the
>>> IDLE help menu, download the file idlerc.zip and unzip it in
>>> your home
>>> folder (e.g. /Users/tom). Depending on your Finder settings, you
>>> may not
>>> see the resulting folder ".idlerc", but it will be used by IDLE
>>> (in a
>>> Terminal you can see it if you execute "ls -a").
>>>
>>>
>>> Seems to work fine for me. I've installed the new Mac VPython on
>>> all 12
>>> of my MacBooks at work and we'll start using it tomorrow. Will
>>> applying
>>> MacPython 2.5.x updates break Visual? For some time, I was under the
>>> impression that my VPython installed via Fink was using Python 2.6
>>> but I
>>> was mistaken. Now I've no idea what package caused Python 2.6 to be
>>> installed under Fink, but I can't remove it because something else
>>> depends on it. Funny...
>>>
>>> Joe
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It is the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://p.sf.net/sfu/Xq1LFB
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Visualpython-users mailing list
>>> Vis...@li...
>>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
>> ------------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It is the best place to buy or sell services for
>> just about anything Open Source.
>> http://p.sf.net/sfu/Xq1LFB
>> _______________________________________________
>> Visualpython-users mailing list
>> Vis...@li...
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|